Click here to Skip to main content
15,920,639 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: What am I missing? Pin
Christian Graus12-Dec-02 18:36
protectorChristian Graus12-Dec-02 18:36 
GeneralRe: What am I missing? Pin
Muralia Dhar12-Dec-02 18:52
Muralia Dhar12-Dec-02 18:52 
GeneralInvalidate window... Pin
Neha12-Dec-02 17:15
Neha12-Dec-02 17:15 
GeneralRe: Invalidate window... Pin
Christian Graus12-Dec-02 18:01
protectorChristian Graus12-Dec-02 18:01 
GeneralRe: Invalidate window... Pin
Neha12-Dec-02 19:09
Neha12-Dec-02 19:09 
GeneralRe: Invalidate window... Pin
Roman Fadeyev12-Dec-02 23:40
Roman Fadeyev12-Dec-02 23:40 
GeneralRe: Invalidate window... Pin
Paul M Watt13-Dec-02 5:00
mentorPaul M Watt13-Dec-02 5:00 
GeneralRe: Invalidate window... Pin
Paul M Watt13-Dec-02 5:06
mentorPaul M Watt13-Dec-02 5:06 
InvalidateRect, InvalidateRgn, UpdateWindow, ValidateRect adn ValidateRgn are all implemented in terms of RedrawWindow with a different combination of flags.

Just look at the documentation for all of hte flags for RedrawWindow in order to do the task that you are looking to do. You can force the window to repaint before the function returns, or you can simply queue it to repaint a certain portion. You can force the child windows to repaint as well as the parent windows of your current window.

Here is an article that I wrote that goes into detail about RedrawWindow and the update region of a window:

Guide To Win32 Paint for Intermediates[^]


Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!

GeneralDetecting 16/32 bit DLLs Pin
Victor Boctor12-Dec-02 15:42
Victor Boctor12-Dec-02 15:42 
GeneralRe: Detecting 16/32 bit DLLs Pin
Michael Dunn12-Dec-02 17:12
sitebuilderMichael Dunn12-Dec-02 17:12 
GeneralRe: Detecting 16/32 bit DLLs Pin
Victor Boctor12-Dec-02 20:05
Victor Boctor12-Dec-02 20:05 
GeneralRe: Detecting 16/32 bit DLLs Pin
Roman Fadeyev12-Dec-02 23:55
Roman Fadeyev12-Dec-02 23:55 
GeneralRe: Detecting 16/32 bit DLLs Pin
Dudi Avramov15-Dec-02 2:12
Dudi Avramov15-Dec-02 2:12 
GeneralRe: Detecting 16/32 bit DLLs Pin
Victor Boctor1-Feb-03 2:52
Victor Boctor1-Feb-03 2:52 
GeneralArhh.... Tree Problem.... Pin
Nick Parker12-Dec-02 12:39
protectorNick Parker12-Dec-02 12:39 
GeneralRe: Arhh.... Tree Problem.... Pin
Rage13-Dec-02 1:14
professionalRage13-Dec-02 1:14 
Question_bstr_t with CString::Format()? Pin
Member 9612-Dec-02 11:26
Member 9612-Dec-02 11:26 
AnswerRe: _bstr_t with CString::Format()? Pin
Dave Bryant12-Dec-02 12:01
Dave Bryant12-Dec-02 12:01 
GeneralRe: _bstr_t with CString::Format()? Pin
Member 9612-Dec-02 13:06
Member 9612-Dec-02 13:06 
AnswerRe: _bstr_t with CString::Format()? Pin
Alvaro Mendez12-Dec-02 12:07
Alvaro Mendez12-Dec-02 12:07 
GeneralRe: _bstr_t with CString::Format()? Pin
Member 9612-Dec-02 13:03
Member 9612-Dec-02 13:03 
GeneralVolume Event or Notification Pin
Terry Denham12-Dec-02 11:20
Terry Denham12-Dec-02 11:20 
GeneralRe: Volume Event or Notification Pin
-Dy12-Dec-02 23:31
-Dy12-Dec-02 23:31 
Generalhelp Pin
imran_rafique12-Dec-02 9:59
imran_rafique12-Dec-02 9:59 
GeneralRe: help Pin
Alvaro Mendez12-Dec-02 10:28
Alvaro Mendez12-Dec-02 10:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.