Click here to Skip to main content
16,004,924 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
RantRe: No, I wont ! Pin
toxcct10-Jun-08 1:24
toxcct10-Jun-08 1:24 
RantRe: write a complete program for this one in Visual C++ Pin
Maximilien10-Jun-08 2:39
Maximilien10-Jun-08 2:39 
JokeRe: write a complete program for this one in Visual C++ Pin
Jagdish V. Bhimbha10-Jun-08 5:20
Jagdish V. Bhimbha10-Jun-08 5:20 
QuestionProblems with screen redrawing [modified] Pin
kildareflare10-Jun-08 0:17
kildareflare10-Jun-08 0:17 
AnswerRe: Problems with screen redrawing Pin
Rage10-Jun-08 0:52
professionalRage10-Jun-08 0:52 
GeneralRe: Problems with screen redrawing Pin
kildareflare10-Jun-08 1:47
kildareflare10-Jun-08 1:47 
AnswerRe: Problems with screen redrawing Pin
Cedric Moonen10-Jun-08 0:58
Cedric Moonen10-Jun-08 0:58 
GeneralRe: Problems with screen redrawing Pin
kildareflare10-Jun-08 1:57
kildareflare10-Jun-08 1:57 
Hi Cedric

I wrote some of the code myself, some i inherited and the rest is standard MFC stuff.

The application only contains dialogs and buttons etc there are no user defined images etc that required customised drawing methods. With the exception of the problem listed the default base class methods (CView) handle the redrawing of all items correctly.

while you may be correct that OnPaint is not doing the drawing whatever is doing it is part of the MFC and so one would imagine that would work OK, right?

I initially thought the problem was that for some reason the window was not receiving a WM_PAINT message. However since the program allways breaks at the OnDraw methodit must be....

I have completed some more testing and have the following to add...

When the app is first opened this problem does not occur.
If i then do anything that causes the explorer view ot refresh (Correctly) add an item to the explorer view for example. The problem is now present until the application is restarted...
AnswerRe: Problems with screen redrawing Pin
Jagdish V. Bhimbha10-Jun-08 5:16
Jagdish V. Bhimbha10-Jun-08 5:16 
AnswerRe: Problems with screen redrawing Pin
Mark Salsbery10-Jun-08 6:14
Mark Salsbery10-Jun-08 6:14 
GeneralPROBLEM FIXED [modified] Pin
kildareflare11-Jun-08 1:09
kildareflare11-Jun-08 1:09 
QuestionCustom Control vs. Owner Draw Control? Pin
sawerr9-Jun-08 23:56
sawerr9-Jun-08 23:56 
AnswerRe: Custom Control vs. Owner Draw Control? Pin
Rage10-Jun-08 0:50
professionalRage10-Jun-08 0:50 
AnswerRe: Custom Control vs. Owner Draw Control? Pin
Joe Woodbury10-Jun-08 6:17
professionalJoe Woodbury10-Jun-08 6:17 
GeneralRe: Custom Control vs. Owner Draw Control? Pin
sawerr10-Jun-08 7:13
sawerr10-Jun-08 7:13 
GeneralRe: Custom Control vs. Owner Draw Control? Pin
Joe Woodbury10-Jun-08 7:58
professionalJoe Woodbury10-Jun-08 7:58 
QuestionVC++ Toolkit 2003 warning message Pin
rp_suman9-Jun-08 22:45
rp_suman9-Jun-08 22:45 
AnswerRe: VC++ Toolkit 2003 warning message Pin
Alan Balkany10-Jun-08 4:23
Alan Balkany10-Jun-08 4:23 
GeneralRe: VC++ Toolkit 2003 warning message Pin
rp_suman10-Jun-08 14:03
rp_suman10-Jun-08 14:03 
QuestionHelp with navigate2 error Pin
limesp9-Jun-08 22:44
limesp9-Jun-08 22:44 
AnswerRe: Help with navigate2 error Pin
CPallini9-Jun-08 23:07
mveCPallini9-Jun-08 23:07 
QuestionConvert CComPtr<istream> into ostream</istream> Pin
CodingLover9-Jun-08 22:27
CodingLover9-Jun-08 22:27 
Answeristream to ostream? Pin
CPallini9-Jun-08 22:46
mveCPallini9-Jun-08 22:46 
QuestionRe: istream to ostream? Pin
CodingLover9-Jun-08 22:49
CodingLover9-Jun-08 22:49 
QuestionLength of IStream Pin
CodingLover10-Jun-08 0:18
CodingLover10-Jun-08 0:18 

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.