Click here to Skip to main content
15,889,216 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Serialize Tree Info Pin
Jose Lamas Rios6-Oct-05 19:19
Jose Lamas Rios6-Oct-05 19:19 
AnswerRe: Serialize Tree Info Pin
ThatsAlok6-Oct-05 19:54
ThatsAlok6-Oct-05 19:54 
GeneralRe: Serialize Tree Info Pin
swarnamanoo6-Oct-05 20:10
swarnamanoo6-Oct-05 20:10 
QuestionLog Scales Pin
Raza56806-Oct-05 18:51
Raza56806-Oct-05 18:51 
QuestionVisual Dev C++ Class Wizard Add Variable Script Error Pin
HaraldS6-Oct-05 18:07
HaraldS6-Oct-05 18:07 
QuestionInvalidateRect and GDI Pin
LighthouseJ6-Oct-05 18:01
LighthouseJ6-Oct-05 18:01 
AnswerRe: InvalidateRect and GDI Pin
ThatsAlok6-Oct-05 18:18
ThatsAlok6-Oct-05 18:18 
GeneralRe: InvalidateRect and GDI Pin
LighthouseJ6-Oct-05 18:56
LighthouseJ6-Oct-05 18:56 
See, I have code like this:

if (first test statement) {<br />
(update data)<br />
(invalidate one rectangle)<br />
}<br />
<br />
if (second test statement) {<br />
(update other data)<br />
(invalidate another rectangle)<br />
}


and both sections work independantly as far as what it tests for. The first if statement is run several times more than the second, but I let my program run and something I didn't expect to happens. What happens is that the screen is updated whenever the second statement is run (less often), but both the first and second rectangle are refreshed (with erases). I tried switching the order of the if statements but it still refreshes at the frequency of the lesser used if statement rectangle invalidation. I don't know what to do about it, right now at least.
GeneralRe: InvalidateRect and GDI Pin
Jose Lamas Rios6-Oct-05 19:02
Jose Lamas Rios6-Oct-05 19:02 
GeneralRe: InvalidateRect and GDI Pin
LighthouseJ6-Oct-05 19:37
LighthouseJ6-Oct-05 19:37 
GeneralRe: InvalidateRect and GDI Pin
Jose Lamas Rios6-Oct-05 19:46
Jose Lamas Rios6-Oct-05 19:46 
GeneralRe: InvalidateRect and GDI Pin
LighthouseJ6-Oct-05 19:55
LighthouseJ6-Oct-05 19:55 
GeneralRe: InvalidateRect and GDI Pin
Jose Lamas Rios6-Oct-05 20:01
Jose Lamas Rios6-Oct-05 20:01 
GeneralRe: InvalidateRect and GDI Pin
LighthouseJ6-Oct-05 20:16
LighthouseJ6-Oct-05 20:16 
GeneralRe: InvalidateRect and GDI Pin
Jose Lamas Rios7-Oct-05 3:28
Jose Lamas Rios7-Oct-05 3:28 
GeneralRe: InvalidateRect and GDI Pin
LighthouseJ7-Oct-05 4:15
LighthouseJ7-Oct-05 4:15 
GeneralRe: InvalidateRect and GDI Pin
James Brown6-Oct-05 21:56
James Brown6-Oct-05 21:56 
QuestionMFC DLL question Pin
benjnp6-Oct-05 14:57
benjnp6-Oct-05 14:57 
AnswerRe: MFC DLL question Pin
Prakash Nadar6-Oct-05 15:44
Prakash Nadar6-Oct-05 15:44 
QuestionObjects Pin
kenexcelon6-Oct-05 14:10
kenexcelon6-Oct-05 14:10 
AnswerRe: Objects Pin
Prakash Nadar6-Oct-05 15:40
Prakash Nadar6-Oct-05 15:40 
AnswerRe: Objects Pin
Cedric Moonen6-Oct-05 20:39
Cedric Moonen6-Oct-05 20:39 
QuestionWhat's wrong in my code or in VS.NET2003 C++ compiler Pin
Zhaohui Xing (Joey)6-Oct-05 11:40
Zhaohui Xing (Joey)6-Oct-05 11:40 
AnswerRe: What's wrong in my code or in VS.NET2003 C++ compiler Pin
Christian Graus6-Oct-05 12:41
protectorChristian Graus6-Oct-05 12:41 
GeneralRe: What's wrong in my code or in VS.NET2003 C++ compiler Pin
Jose Lamas Rios6-Oct-05 18:55
Jose Lamas Rios6-Oct-05 18:55 

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.