WINCE: Fix grabWindow
BitBlt does not support CAPTUREBLT under Windows Embedded compact. It was before defined to the value it would have for a desktop Windows, but as it looks if the bit gets set for Windows Embedded Compact he does not do the right thing anymore. So lets define it to 0 so that we dont do any harm. Change-Id: I447ebcd90eb9ae7c64f931aa8859b83794f201a0 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Björn Breitmeyer <bjoern.breitmeyer@kdab.com>
This commit is contained in:
parent
1529a3df95
commit
23961aa54c
@ -86,8 +86,10 @@
|
||||
#define HWND_MESSAGE 0
|
||||
#endif
|
||||
|
||||
// Real Value would be 0x40000000, but if we pass this to Windows Embedded Compact
|
||||
// he blits it wrongly, so lets not do any harm and define it to 0
|
||||
#ifndef CAPTUREBLT
|
||||
#define CAPTUREBLT (DWORD)0x40000000
|
||||
#define CAPTUREBLT (DWORD)0x0
|
||||
#endif
|
||||
|
||||
#define SW_SHOWMINIMIZED SW_MINIMIZE
|
||||
|
Loading…
Reference in New Issue
Block a user