c# Programming Glossary: hbmp
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 hDesk IntPtr hDest CreateCompatibleDC hSrce IntPtr hBmp CreateCompatibleBitmap hSrce sz.Width sz.Height IntPtr hOldBmp.. 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.. Bitmap bmp Bitmap.FromHbitmap hBmp SelectObject hDest hOldBmp DeleteObject hBmp DeleteDC hDest..
Capture screenshot Including Semitransparent windows in .NET http://stackoverflow.com/questions/3072349/capture-screenshot-including-semitransparent-windows-in-net hDesk IntPtr hDest CreateCompatibleDC hSrce IntPtr hBmp CreateCompatibleBitmap hSrce sz.Width sz.Height IntPtr hOldBmp.. 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.. Bitmap bmp Bitmap.FromHbitmap hBmp SelectObject hDest hOldBmp DeleteObject hBmp DeleteDC hDest..
|