Click here to Skip to main content
15,908,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: bit manupolation Pin
MahaKh7-Jun-08 4:36
MahaKh7-Jun-08 4:36 
GeneralRe: bit manupolation Pin
CPallini7-Jun-08 4:58
mveCPallini7-Jun-08 4:58 
AnswerRe: bit manupolation Pin
rp_suman7-Jun-08 5:44
rp_suman7-Jun-08 5:44 
GeneralRe: bit manupolation Pin
MahaKh7-Jun-08 10:37
MahaKh7-Jun-08 10:37 
AnswerRe: bit manupolation Pin
Chris Losinger7-Jun-08 5:45
professionalChris Losinger7-Jun-08 5:45 
QuestionClearing client window Pin
Kwanalouie7-Jun-08 2:15
Kwanalouie7-Jun-08 2:15 
AnswerRe: Clearing client window Pin
Nelek7-Jun-08 2:19
protectorNelek7-Jun-08 2:19 
GeneralRe: Clearing client window Pin
Kwanalouie7-Jun-08 3:15
Kwanalouie7-Jun-08 3:15 
The problem was that I would set a flag for my OnDraw routine to do as you suggested, but in the function that set that flag I simply did

flag = NOTDRAW;
Invalidate(0);

When I did this, with the OnDraw routine simply returning when it saw that flag, the old info in the client window would not be erased.

When I changed things to

Invalidate(0);
flag = NOTDRAW;
Invalidate(0);

in the function that set the flag, then the old info in the client window would get erased. So I'm confused as to what is happening with the Invalidate(0) function.
GeneralRe: Clearing client window Pin
Nelek7-Jun-08 3:23
protectorNelek7-Jun-08 3:23 
AnswerRe: Clearing client window Pin
Ravi Bhavnani7-Jun-08 11:27
professionalRavi Bhavnani7-Jun-08 11:27 
QuestionIs it possible to create C++ obj in C with new operator? Pin
Nandu_77b7-Jun-08 0:52
Nandu_77b7-Jun-08 0:52 
AnswerRe: Is it possible to create C++ obj in C with new operator? Pin
Gary R. Wheeler7-Jun-08 0:58
Gary R. Wheeler7-Jun-08 0:58 
QuestionRe: Is it possible to create C++ obj in C with new operator? Pin
Nandu_77b7-Jun-08 1:22
Nandu_77b7-Jun-08 1:22 
AnswerRe: Is it possible to create C++ obj in C with new operator? Pin
Gary R. Wheeler7-Jun-08 2:52
Gary R. Wheeler7-Jun-08 2:52 
GeneralRe: Is it possible to create C++ obj in C with new operator? Pin
Nandu_77b7-Jun-08 3:22
Nandu_77b7-Jun-08 3:22 
QuestionEsc Button use for Close the Dialog Box. Pin
Le@rner7-Jun-08 0:41
Le@rner7-Jun-08 0:41 
AnswerRe: Esc Button use for Close the Dialog Box. Pin
Gary R. Wheeler7-Jun-08 1:05
Gary R. Wheeler7-Jun-08 1:05 
GeneralRe: Esc Button use for Close the Dialog Box. Pin
Nelek7-Jun-08 2:13
protectorNelek7-Jun-08 2:13 
GeneralRe: Esc Button use for Close the Dialog Box. Pin
Gary R. Wheeler7-Jun-08 2:18
Gary R. Wheeler7-Jun-08 2:18 
GeneralRe: Esc Button use for Close the Dialog Box. Pin
Nelek7-Jun-08 2:22
protectorNelek7-Jun-08 2:22 
GeneralRe: Esc Button use for Close the Dialog Box. Pin
Rajesh R Subramanian7-Jun-08 6:16
professionalRajesh R Subramanian7-Jun-08 6:16 
AnswerRe: Esc Button use for Close the Dialog Box. Pin
Nelek7-Jun-08 2:11
protectorNelek7-Jun-08 2:11 
GeneralRe: Esc Button use for Close the Dialog Box. Pin
Le@rner7-Jun-08 2:44
Le@rner7-Jun-08 2:44 
GeneralRe: Esc Button use for Close the Dialog Box. Pin
Jijo.Raj7-Jun-08 3:48
Jijo.Raj7-Jun-08 3:48 
GeneralRe: Esc Button use for Close the Dialog Box. Pin
Nelek7-Jun-08 7:05
protectorNelek7-Jun-08 7:05 

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.