Implementation of the User32.PrintWindow

Josselin Bardet namjos at gmail.com
Fri Jun 5 06:12:50 CDT 2009


Nikolay Sivov a écrit :
> As I already said in bugzilla:
> - use SendMessageW
> - add FIXME for unused flags or use them
> - no need for brackets around SendMessage
> - add a simple test (if native send this message - you can check it 
> easily with Spy in Windows)
>
After testing on a real windows, it looks like native PrintWindow do not 
send WM_PRINT message, so we have to guess manually which flags to set.

Do you think PW_CLIENTONLY means PRF_CLIENT | PRF_ERASEBKGND, or 
PW_CLIENTONLY means PRF_CLIENT | PRF_ERASEBKGND | PRF_CHILDREN | 
PRF_OWNED (only removed PRF_NONCLIENT)?

And with no flag PW_CLIENTONLY means PRF_CLIENT | PRF_ERASEBKGND | 
PRF_CHILDREN | PRF_OWNED | PRF_NONCLIENT ? This was the one I tested on 
the application



More information about the wine-devel mailing list