Re: [gnet-dev] gnet-win32 message callback
- From: Andrew J Lanoix <alanoix umich edu>
- To: wroberts1 home com
- Cc: gnet-dev gnetlibrary org
- Subject: Re: [gnet-dev] gnet-win32 message callback
- Date: Thu, 3 May 2001 18:46:34 -0400 (EDT)
That may work but the correct way is explained here:
http://www.gnetlibrary.org/pipermail/gnet-dev/2001-April/000016.html
Andy (still on vacation)
On Thu, 3 May 2001 wroberts1 home com wrote:
>
> Apparently some messages for gtk will pass thru iochannel watch created
> buy gnet-win32 dll. The gnet_MainCallBack() also gets called for gtk
> messages. GetMessages() will swallow these messages and gtk events
> will be lost. So i replaced it with:
> PeekMessage(&msg, NULL, 0, 0, PM_NOREMOVE);
>
> With this, the messages not meant for gnet are ignored, but not absorbed.
>
> The messages I saw absorbed were for gtk button press/released and
> mouse leave/enter.
>
> _______________________________________________
> gnet-dev mailing list
> gnet-dev gnetlibrary org
> http://www.gnetlibrary.org/mailman/listinfo/gnet-dev
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]