c# Programming Glossary: hdest
How to get screenshot to include the invoking window (on XP) http://stackoverflow.com/questions/10233055/how-to-get-screenshot-to-include-the-invoking-window-on-xp GetDesktopWindow IntPtr hSrce GetWindowDC hDesk IntPtr hDest CreateCompatibleDC hSrce IntPtr hBmp CreateCompatibleBitmap.. hSrce sz.Width sz.Height IntPtr hOldBmp SelectObject hDest hBmp bool b BitBlt hDest 0 0 sz.Width sz.Height hSrce 0 0 CopyPixelOperation.SourceCopy.. IntPtr hOldBmp SelectObject hDest hBmp bool b BitBlt hDest 0 0 sz.Width sz.Height hSrce 0 0 CopyPixelOperation.SourceCopy..
Capture screenshot Including Semitransparent windows in .NET http://stackoverflow.com/questions/3072349/capture-screenshot-including-semitransparent-windows-in-net GetDesktopWindow IntPtr hSrce GetWindowDC hDesk IntPtr hDest CreateCompatibleDC hSrce IntPtr hBmp CreateCompatibleBitmap.. hSrce sz.Width sz.Height IntPtr hOldBmp SelectObject hDest hBmp bool b BitBlt hDest 0 0 sz.Width sz.Height hSrce 0 0 CopyPixelOperation.SourceCopy.. IntPtr hOldBmp SelectObject hDest hBmp bool b BitBlt hDest 0 0 sz.Width sz.Height hSrce 0 0 CopyPixelOperation.SourceCopy..
|