September 28th, 2012, 06:09 PM
[Quest] How to restore Objects of Window after WM_PAINT Message
I want to know how to restore objects that appear on window I will expalin in one Example;
/////// Draw One Line
My Problem Now is , if I the Application sends WM_PAINT message , I see the line is disappeared,
I know I can Draw the line under WM_PAINT message, But if I want to draw Line by using WM_COMMAND message , is thesr any tool to let me keep the objects on the window after application sent WM_PAINT Message.
I try to use InvalidateRect() function but It was not working..
Thanks & Regards
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.