A
a_unique_name
Guest
Hi Folks:
Developing on Windows 10 Pro, VS 2017 Community, all C++, WIN 32 no MFC.
I'd like to know when WM_PAINT has finished repainting a window.
I'd like to know this so, when the UI thread's dialog has finished painting, it can post a message to a diagnostic thread. The diagnostic thread can stop on a breakpoint, and I can see what the state of the UI's thread.
I've tried to introduce a bit of a delay by having the code that services the WM_PAINT message post a message to it's own dialog, and that posts a message to the diagnostic thread that there's something happening.
The UI thread's dialog is blank when the diagnostic thread stops.
Last October RLWA32 pointed me to Raymond Chen's article in The New Old Thing that showed me how to know when a new window is ready to receive input.
This is different. The window has been visible, now I need to know if a repaint is finished.
Thanks
Larry
Continue reading...
Developing on Windows 10 Pro, VS 2017 Community, all C++, WIN 32 no MFC.
I'd like to know when WM_PAINT has finished repainting a window.
I'd like to know this so, when the UI thread's dialog has finished painting, it can post a message to a diagnostic thread. The diagnostic thread can stop on a breakpoint, and I can see what the state of the UI's thread.
I've tried to introduce a bit of a delay by having the code that services the WM_PAINT message post a message to it's own dialog, and that posts a message to the diagnostic thread that there's something happening.
The UI thread's dialog is blank when the diagnostic thread stops.
Last October RLWA32 pointed me to Raymond Chen's article in The New Old Thing that showed me how to know when a new window is ready to receive input.
This is different. The window has been visible, now I need to know if a repaint is finished.
Thanks
Larry
Continue reading...