Hello.
There is any way to create a bitmap of window using device context without mouse cursor?
Code below create devault DC including mouse cursor.
Func _CreateDC($hwnd)
; Create parametrs.
Local $api
; Call function in user library to get DC of handle.
$api = DllCall("user32.dll", "handle", "GetWindowDC", "hwnd", $hwnd)
; When result is not array then return {-1}
If Not IsArray($api) Then Return -1
; Return handle to bitmap.
Return $api[0]
EndFunc
I know that is method screen capute but my pc getting laggy using this.
@UEZ
Regards,
Ascer