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

C / C++ / MFC

 
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 
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 
I tried that by doing something like this:

bool bUpdateWindow = false;<br />
CWnd * pParent = ::AfxGetMainWnd();<br />
<br />
if (first test) {<br />
(change data)<br />
pParent->InvalidateRect(pRect1, true);<br />
bUpdateWindow = true;<br />
}<br />
<br />
if (second test) {<br />
(change other data)<br />
pParent->InvalidateRect(pRect2, true);<br />
bUpdateWindow = true;<br />
}<br />
<br />
if (bUpdateWindow) { pParent->UpdateWindow(); }


But the behavior isn't changed from before.
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 
QuestionDebugging Media Center Pin
DNFSB6-Oct-05 10:10
DNFSB6-Oct-05 10:10 
QuestionBoost Pin
Ed K6-Oct-05 10:00
Ed K6-Oct-05 10:00 

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.