What WM_ message am i missing????
None of my windows are drawn when they first appear. ive tried sending the WM_PAINT message to all of my new windows, but this does not help. The windows are drawn fine once they are resized though. im cleary missing some message here, anyone know what message this might be?
Well, hmm. WM_PAINT is pretty low priority. Is it possible it''s getting stuck in your queue someplace, due to timer messages or something? And are you sure WM_PAINT is being sent and set up right? (WM_SIZING internally calls the paint routine)
-fel
-fel
~ The opinions stated by this individual are the opinions of this individual and not the opinions of her company, any organization she might be part of, her parrot, or anyone else. ~
Call InvalidateRect(...); instead of posting a WM_PAINT message when you want windows to redraw your window.
//Peter
//Peter
Are you calling UpdateWindow() and ShowWindow() in your WinMain() ? i think you wont see anything until youve done this.
You creating the window with the WS_VISIBLE style?
Hope this helps
http://www.positech.co.uk
You creating the window with the WS_VISIBLE style?
Hope this helps
http://www.positech.co.uk
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement