Changeset 11 for trunk/bitmap.cpp
- Timestamp:
- Feb 21, 2018, 1:01:16 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bitmap.cpp
r2 r11 18 18 ***/ 19 19 20 // ** CaptureWindow ******************************************************* /* fold00*/20 // ** CaptureWindow ******************************************************* /*FOLD00*/ 21 21 22 22 #define MAX_WAIT 15 … … 42 42 for (USHORT i = 0; i < MAX_WAIT; i++) 43 43 { 44 _sleep2(100);44 DosSleep (100); 45 45 WinQueryWindowPos (hwndParent, &swp); 46 46 if ((swp.hwndInsertBehind == HWND_TOP) || … … 149 149 sizeof (aptl) / sizeof (POINTL), /* Number of points in aptl */ 150 150 aptl, ROP_SRCCOPY, BBO_IGNORE); 151 SaveBitmap (hbm, hpsMem );151 SaveBitmap (hbm, hpsMem, sWidth, sHeight, bmp.cBitCount); 152 152 153 153 // re-associate the previous bit map and the memory presentation space
Note:
See TracChangeset
for help on using the changeset viewer.