I have a bug that I'm trying to fix ( Odd MFC/GDI behaviour (blank image) that doesn't appear when screen is recorded ), and I think it might be because I'm calling Invalidate()
before I call ShowWindow()
somewhere.
I have a class that's derived from a CWnd
, so I'd like to be able to see what is sending the ShowWindow message (since searching for it gives me a few thousand places in the code).
I added the ON_WM_SHOWWINDOW()
to the message map and can break whenever I get a showwindow
message, but I don't know who's sending it. Is there any way to tell?
Thanks!
Adding the user32.dll symbols from the MS symbol server helped. Thanks Werner.