Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

tordyvel

refresh a window?

This topic is 5933 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
Depends on if you are using Win32 or MFC...

For Win32 send a WM_PAINT message to your app to trigger the window redraw stuff manually...



Cheers,

Convict@Large

"I code therefore I am" Anon

Share this post


Link to post
Share on other sites
quote:
Original post by Convict@Large
For Win32 send a WM_PAINT message to your app to trigger the window redraw stuff manually...


From MSDN:
"The WM_PAINT message is generated by the system and should not be sent by an application."

Try InvalidateRect(), or CWnd::Invalidate() in MFC.

Share this post


Link to post
Share on other sites
Hehe ^thats^ what I ment, but could not remember it exactly...

its been too long since I did any MFC.

Cheers,

Convict@Large

"I code therefore I am" Anon

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!