Trying to add an exit confirmation dialog to Cygwin setup.exe, failing

Andy Koppe
Sat Mar 14 13:52:00 GMT 2009

> Cygwin setup.exe's message loop is this
>  while (GetMessage (&msg, NULL, 0, 0) != 0
>         && GetMessage (&msg, (HWND) NULL, 0, 0) != -1)

I might not sufficiently understand Win32 messaging, but to me that
looks as if it's dropping every other message. Shirley it should be
calling GetMessage only once?


More information about the Cygwin-apps mailing list