Opened 13 years ago
Closed 11 years ago
#1991 closed Bug (Wont Fix)
Include CAPTUREBLT flag in _ScreenCapture_Capture
Reported by: | Chess | Owned by: | |
---|---|---|---|
Milestone: | Component: | Standard UDFs | |
Version: | 3.3.6.1 | Severity: | None |
Keywords: | Cc: |
Description
In order to capture the layered windows when capturing the desktop. The flag CAPTUREBLT should be included:
Old code
Global Const $__SCREENCAPTURECONSTANT_SRCCOPY = 0x00CC0020 ... _WinAPI_BitBlt( ... , $__SCREENCAPTURECONSTANT_SRCCOPY)
New code:
_WinAPI_BitBlt( ... , BitOR($SRCCOPY, $CAPTUREBLT))
NOTE: The constants are already listed in WinAPI.au3 so there is no need to hardcode another one...
Attachments (2)
Change History (7)
comment:1 Changed 13 years ago by Pinault <pszczepa@…>
comment:2 Changed 13 years ago by anonymous
It's Great work!
Changed 13 years ago by Chess
New include file containing fixes for _ScreenCapture_Capture and _ScreenCapture_CaptureWnd functions
Changed 13 years ago by Chess
Update for _ScreenCapture_CaptureV2 _ScreenCapture_CaptureWndV2 Added optional parameter $iBitBltFlag - Flag to pass to the _WinAPI_BitBlt operation default it BitOR($SRCCOPY, $CAPTUREBLT) instead of $SRCCOPY only Tested with AutoIT 3.3.6.1 Fix over previous version with gross error where $SRCCPY was used instead of $iBitBltFlag
comment:3 Changed 13 years ago by trancexx
- Component changed from AutoIt to Standard UDFs
comment:4 Changed 12 years ago by guinness
Discussion thread: http://www.autoitscript.com/forum/topic/131265-screencapture-capturewndv2/
comment:5 Changed 11 years ago by guinness
- Resolution set to Wont Fix
- Status changed from new to closed
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
Actually, the right fix would be to let the user choose whether he wants to use this flag or not. So the best would be to add one more parameter to the _ScreenCapture_Capture function (and the _ScreenCapture_CaptureWnd one as well).
Thanks.