Still busy with ZooTycoon (demo version)
Rein Klazes
rklazes at xs4all.nl
Fri Mar 26 11:41:05 CST 2004
On Fri, 26 Mar 2004 11:08:46 +0100 (CET), you wrote:
> Hi,
>
> I have a BIG question now (with some accompanying text):
>
> ZooTycoon creates a lot of windows that are all owned by the main thread
> (0x0009 in my case).
>
> Several messages are posted to several windows in several threads. Because
> the messages are send to a hwnd and all windows are owned by 0x0009, all
> messages end up in the message queue of the main thread.
>
> If a GetMessage or PeekMessage is done with a specific hwnd everything is
> fine.
>
> When however a GetMessage or PeekMessage is done with a hwnd=0 (NULL) it
> all depends in which thread the Get or PeekMessage is done, if one (or
> more) message is retrieved. In my case all Get or PeekMessages done in all
> other threads but the main one (0x0009) end up with nothing.
>
> It appears that on Windows the behaviour is different, in the ZooTycoon
> case, all GetMessages are done from the main thread. Maybe there is some
> logic that check which thread own windows ?
>
> Can somebody confirm my findings for the WINE part ? And of course can
> somebody confirm my findings for the WINDOWS part ?
>
> It looks like I found the cause of my problem, now the fix !
I think you should ask these questions on the developers list.
Rein.
--
Rein Klazes
rklazes at xs4all.nl
More information about the wine-users
mailing list