-
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...- Alex Sokolek
- Thread
- application c++ debugging dialog box document scanning event handling graphics gui linked list modeless multithreading performance sleep function software optimization system call timer user interface window procedure windows development
- Replies: 2
- Forum: Windows Software
-
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...- Alex Sokolek
- Thread
- build release debugging dialog box error handling file operations file system hashing memory issues memory management modeless progress updates software optimization timer user interface visual studio vk_escape windows api wm_keydown
- Replies: 6
- Forum: Windows Software