Click here to Skip to main content
15,914,419 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How template in C++ Work ? Pin
Mark Salsbery26-Jan-07 7:07
Mark Salsbery26-Jan-07 7:07 
Questiongetting list of processes Pin
saqib8226-Jan-07 2:28
saqib8226-Jan-07 2:28 
AnswerRe: getting list of processes Pin
nullable.type26-Jan-07 3:01
nullable.type26-Jan-07 3:01 
AnswerRe: getting list of processes Pin
David Crow26-Jan-07 3:03
David Crow26-Jan-07 3:03 
AnswerRe: getting list of processes Pin
ThatsAlok26-Jan-07 20:05
ThatsAlok26-Jan-07 20:05 
AnswerRe: getting list of processes Pin
Hamid_RT27-Jan-07 0:52
Hamid_RT27-Jan-07 0:52 
QuestionSetRedraw(FALSE) Pin
baerten26-Jan-07 0:09
baerten26-Jan-07 0:09 
AnswerRe: SetRedraw(FALSE) Pin
#realJSOP26-Jan-07 0:14
professional#realJSOP26-Jan-07 0:14 
Do you use the OnDraw() function in View "B"? If so, try putting ShowWindow(SW_SHOW); at the top of the function, and ShowWindow(SW_HIDE); at the bottom of it.

[EDIT] Nevermind, that won't work...

[EDIT] How about calling SetRedraw(FALSE) in OnInitialUpdate(), and then calling SetRedraw(TRUE) at the end of your painting routine. You may also need to call UpdateWindow() before calling SetRedraw(TRUE).









"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001


GeneralRe: SetRedraw(FALSE) Pin
baerten26-Jan-07 0:41
baerten26-Jan-07 0:41 
GeneralRe: SetRedraw(FALSE) Pin
#realJSOP26-Jan-07 2:46
professional#realJSOP26-Jan-07 2:46 
AnswerRe: SetRedraw(FALSE) Pin
Rage26-Jan-07 0:25
professionalRage26-Jan-07 0:25 
GeneralRe: SetRedraw(FALSE) Pin
baerten26-Jan-07 0:47
baerten26-Jan-07 0:47 
AnswerRe: SetRedraw(FALSE) Pin
Jason Henderson26-Jan-07 5:47
Jason Henderson26-Jan-07 5:47 
QuestionGeneric exception classes ? Pin
Mr.Brainley26-Jan-07 0:02
Mr.Brainley26-Jan-07 0:02 
QuestionCoInitializeEx Creates an Error Pin
#realJSOP26-Jan-07 0:00
professional#realJSOP26-Jan-07 0:00 
AnswerRe: CoInitializeEx Creates an Error Pin
Wes Aday26-Jan-07 4:29
professionalWes Aday26-Jan-07 4:29 
AnswerRe: CoInitializeEx Creates an Error Pin
Mark Salsbery26-Jan-07 6:35
Mark Salsbery26-Jan-07 6:35 
QuestionSystem Menu Weirdness, V2.0 [modified] Pin
#realJSOP25-Jan-07 23:39
professional#realJSOP25-Jan-07 23:39 
AnswerRe: System Menu Weirdness, V2.0 Pin
#realJSOP26-Jan-07 2:44
professional#realJSOP26-Jan-07 2:44 
GeneralRe: System Menu Weirdness, V2.0 Pin
Maximilien26-Jan-07 3:14
Maximilien26-Jan-07 3:14 
Questioncalling vb dll Pin
ng4kau125-Jan-07 23:24
ng4kau125-Jan-07 23:24 
AnswerRe: calling vb dll Pin
Cedric Moonen25-Jan-07 23:41
Cedric Moonen25-Jan-07 23:41 
GeneralRe: calling vb dll Pin
ng4kau125-Jan-07 23:48
ng4kau125-Jan-07 23:48 
GeneralRe: calling vb dll Pin
Nemanja Trifunovic26-Jan-07 5:06
Nemanja Trifunovic26-Jan-07 5:06 
Questionusing return statement in "conditional operator (? :) "ternary operator Pin
Mushtaque Nizamani25-Jan-07 22:48
Mushtaque Nizamani25-Jan-07 22:48 

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.