954,504 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

validated window doubt

I have started with windows programming.I am now in the painting and repainting part.When the WM_PAINT is called,the entire client window is supposedly validated,does that meaen the window comes to the foreground and becomes the active one? Or have I misinterpreted the meaning of validation of window? Please help.
Thanks in advance,
Prasanna.

IndianaRonaldo
Light Poster
39 posts since Jan 2011
Reputation Points: 7
Solved Threads: 1
 

The window doesn't get the input focus in case of a WM_PAINT message rather it invalidates a specific region of itself and redraws it ( like when you drag another window on and off the surface of your main window ) or draws the specific child windows that are created and owned by the main window (buttons , edit controls) as much as text bitmaps etc.

caut_baia
Posting Whiz
387 posts since Apr 2010
Reputation Points: 25
Solved Threads: 49
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: