[Bug 18772] Missing User32.PrintWindow implementation

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jun 4 17:15:21 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=18772





--- Comment #13 from Josselin Bardet <namjos at gmail.com>  2009-06-04 17:15:20 ---
(In reply to comment #12)

> 
> Ok, I don't even see it in list, maybe sender should subscribe first.
> 

I just resent it, after subscribing

> Obvious problems are:
> 
> -  'return ();' should lose brackets here;
> -  SendMessageW should be used;
> -  flags are ignored but I think PW_CLIENTONLY could be mapped to PRF_CLIENT
> here,
>    if you still want to ignore flags for some reason you should place FIXME;
> -  ideal way is to add test for this if it really uses WM_PRINT. If it does
>    it easy to test for WM_PRINT flags then.

Feal free to ameliorate this patch, it is really not perfect.
Put FIXME is not a good idea, as this kind of function may be called a lot of
times.

For WM_PRINT related, this is the MSDN website that assert that this is
equivalent to PrintWindow, but he doesn't give which arguments. I used
arguments found on web, I'm not an expert of this function

I did only this to make my application worked, and it can help other people too
if they are confronted to unimplemented PrintWindow

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list