>reply to message: >date: 16.08.2012 12:44:49 >from: "LRN" <lrn1986@xxxxxxxxx> >to: gtk-list@xxxxxxxxx >subject: Re: main_interation and GetMessage > >On 16.08.2012 13:16, Henrik Genssen wrote: >> My app so far uses main_interation(true) as main message loop. Now >> I need to prefilter messages for IOleInPlaceActiveObject of >> Internet Explorer to feed its TranslateAccelerator() function. >> >> Can I somehow combine the winapi function GetMessage() and the gtk >> message loop? >>Does [1] help? >>[1] http://developer.gnome.org/glib/2.32/glib-IO-Channels.html no, as far as I can see, that lib does not deal with the windows message queue. I am doing something like: msg = MSG() lpmsg = byref(msg) while GetMessage(lpmsg, 0, 0, 0): if not self.PreTranslateMessage(msg): TranslateMessage(lpmsg) DispatchMessage(lpmsg) and neet to combinate it with the gtk message loop - if the message was not processed... _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gtk-list