<div dir="ltr"><span style="font-size:12.8000001907349px">I wrote a small test which I attach here, very small program where you can see if WndProc is called from WaitMessage. It fails, which I think shows what I doubted is actually happening. Tested in</span><span style="font-size:12.8000001907349px"> the old 1.6.2 wine and also in 1.7.50.</span><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Cheers!</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 26, 2015 at 11:29 AM, Sebastian Lackner <span dir="ltr"><<a href="mailto:sebastian@fds-team.de" target="_blank">sebastian@fds-team.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 26.08.2015 16:04, Sebastian Lackner wrote:<br>
> If you are concerned that WaitMessage immediately dispatches the messages,<br>
> Wine doesn't do that. Processing of window messages is only done in the<br>
> context of GetMessage and PeekMessage, no matter if its a "queued" or<br>
> "non-queued" message. In fact Wine doesn't really make a difference between<br>
> the two, it just assigns specific internal message numbers for non-queued<br>
> messages. To identify those the the highest bit (0x80000000) is set.<br>
<br>
</span>After reading the last part again I noticed that I wasn't really very precise,<br>
because I somehow already assumed that you are talking about non-queued messages<br>
caused by SetWindowPos and things like that. Those are implemented using internal<br>
messages in Wine, and might be affected by the "bugs" mentioned in the last mail.<br>
<br>
Besides that its of course also possible to send other non-queued messages<br>
directly with SendMessage and similar functions. But in this case the answer would<br>
be the same: WaitMessage does not dispatch them immediately, they are processed<br>
during a call to PeekMessage or GetMessage.<br>
<br>
Regards,<br>
Sebastian<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Javier Pimás<br>Ciudad de Buenos Aires</div></div>
</div>