[Mono-osx] PeekMessage(), mono mac

Elfen pem.accounts.spam at gmail.com
Thu Feb 18 01:52:07 EST 2010


What's the Mac equivalent of PeekMessage()?  (For Mono on Mac OS X, I guess
GTK#?)

        private void OnApplicationIdle(object sender, System.EventArgs e)
        {
            Message msg;
            while (!PeekMessage(out msg, IntPtr.Zero, 0, 0, 0))
                myPic.UpdateImage(); // Refresh()'s the UserControl, which
has an Image
            //TODO: PeekMessage doesn't work on Mac?
        }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20100218/23726225/attachment.html 


More information about the Mono-osx mailing list