[gnet-dev] gnet-win32 message callback
- From: wroberts1 home com
- To: gnet-dev gnetlibrary org
- Subject: [gnet-dev] gnet-win32 message callback
- Date: Thu, 3 May 2001 15:14:32 -0700
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.
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]