Archived

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

tordyvel

refresh a window?

Recommended Posts

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