modeless

About this tag
The modeless tag covers discussions about modeless dialog boxes in Windows programming, particularly issues with message loops and UI updates. Topics include debugging problems where modeless dialogs stop updating after a few seconds when running without a debugger, solutions involving proper message handling with PeekMessage and PM_REMOVE, and a known issue in Windows 7 and Server 2008 R2 where OpenGL content remains visible after minimizing a modeless dialog with Aero enabled. These threads provide troubleshooting advice and code examples for developers working with modeless dialogs in Windows applications.
  1. Alex Sokolek

    A strange problem with modeless dialog boxes - V2

    I have solved the problem! See the original post, "A strange problem with modeless dialog boxes", for details. This is a repost, incorporating the latest simplifications of the problem statement, and a minimal reproducible example of the code... I'm having a problem with modeless dialog boxes...
  2. Alex Sokolek

    A strange problem with modeless dialog boxes

    I have solved the problem! When the AI Bot told me that I was stalling the message loop, I looked deeper. In the original code I was calling PeekMessage() with PM_REMOVE, filtering for WM_KEYDOWN, and then checking for VK_ESCAPE. This consumed the WM_KEYDOWN message but not any other messages...
  3. News

    OpenGL rendered content is still displayed after you minimize a modeless dialog box in Windows 7 or

    Fixes an issue in which OpenGL rendered content is still displayed after you enable the Aero feature and minimize a modeless dialog box. This issue occurs on a computer that is running Windows 7 or Windows Server 2008 R2. More...
Back
Top