[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: ddraw.txt and gui
From:       Ove Kaaven <ovehk () ping ! uio ! no>
Date:       2003-09-29 15:46:57
[Download RAW message or body]

man, 29.09.2003 kl. 16.33 skrev Dimitrie O. Paun:
> On September 29, 2003 04:57 am, Dmitry Timoshkov wrote:
> > I'm attaching a diff between your output and an output of
> > the test run under win2k (line numbers were stripped before
> > the diff).
> 
> So it seems that InSendMessage() always returns FALSE. 
> Alexandre, is this function supposed to work?

What it's really supposed to do is only return TRUE if it's an
*interthread* sent message, where a different thread is waiting for a
reply. Otherwise (including intrathread sent messages) it returns FALSE.
I don't think there's a way to ask Windows whether a message is sent
from a routine in the same thread or dispatched through DispatchMessage
(DispatchMessage might even just use SendMessage internally anyway so it
could be the same thing). You'd probably have to do like I did in my
libtest/guitest.c, set a flag when you call DispatchMessage so that the
message proc knows it's a posted message.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic