Click here to Skip to main content
15,899,754 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Update only a particial area of a View with UpdateAllViews(...) Pin
CrocodileBuck11-Jul-08 6:16
CrocodileBuck11-Jul-08 6:16 
GeneralRe: Update only a particial area of a View with UpdateAllViews(...) Pin
Mark Salsbery11-Jul-08 6:29
Mark Salsbery11-Jul-08 6:29 
GeneralRe: Update only a particial area of a View with UpdateAllViews(...) Pin
CrocodileBuck11-Jul-08 6:33
CrocodileBuck11-Jul-08 6:33 
GeneralRe: Update only a particial area of a View with UpdateAllViews(...) Pin
Mark Salsbery11-Jul-08 6:36
Mark Salsbery11-Jul-08 6:36 
GeneralRe: Update only a particial area of a View with UpdateAllViews(...) Pin
CrocodileBuck11-Jul-08 6:44
CrocodileBuck11-Jul-08 6:44 
GeneralRe: Update only a particial area of a View with UpdateAllViews(...) Pin
Mark Salsbery11-Jul-08 6:48
Mark Salsbery11-Jul-08 6:48 
GeneralRe: Update only a particial area of a View with UpdateAllViews(...) Pin
CrocodileBuck11-Jul-08 6:52
CrocodileBuck11-Jul-08 6:52 
GeneralRe: Update only a particial area of a View with UpdateAllViews(...) Pin
Mark Salsbery11-Jul-08 6:59
Mark Salsbery11-Jul-08 6:59 
Only you know what's going on in your views.

The text data must be coming from somewhere...
Change it and update the views!
And make sure changing it doesn't already cause an update implicitly,
or you still won't see anything.

If the view is a window not in your control (where you don't do the painting,
like an edit control), then you may not have control over updating regions of
the window.

If you are doing the painting in your view, look at the invalid rect in the WM_PAINT
handler - you should see that your update rect is there. What you do with that info in
your painting code is up to you.

Mark

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: Update only a particial area of a View with UpdateAllViews(...) Pin
CrocodileBuck11-Jul-08 7:04
CrocodileBuck11-Jul-08 7:04 
GeneralRe: Update only a particial area of a View with UpdateAllViews(...) Pin
led mike11-Jul-08 8:52
led mike11-Jul-08 8:52 
GeneralRe: Update only a particial area of a View with UpdateAllViews(...) Pin
Mark Salsbery11-Jul-08 9:01
Mark Salsbery11-Jul-08 9:01 
GeneralRe: Update only a particial area of a View with UpdateAllViews(...) [modified] Pin
Bram van Kampen12-Jul-08 14:56
Bram van Kampen12-Jul-08 14:56 
GeneralRe: Update only a particial area of a View with UpdateAllViews(...) Pin
Bram van Kampen12-Jul-08 15:02
Bram van Kampen12-Jul-08 15:02 
QuestionRe: Update only a particial area of a View with UpdateAllViews(...) Pin
David Crow11-Jul-08 7:29
David Crow11-Jul-08 7:29 
AnswerRe: Update only a particial area of a View with UpdateAllViews(...) Pin
CrocodileBuck11-Jul-08 23:12
CrocodileBuck11-Jul-08 23:12 
QuestionRe: Update only a particial area of a View with UpdateAllViews(...) Pin
David Crow12-Jul-08 7:19
David Crow12-Jul-08 7:19 
GeneralRe: Update only a particial area of a View with UpdateAllViews(...) Pin
CrocodileBuck11-Jul-08 6:19
CrocodileBuck11-Jul-08 6:19 
QuestionHow to find ActiveX Control corresponding file in VC9? Pin
followait11-Jul-08 3:56
followait11-Jul-08 3:56 
QuestionCArray problem Pin
Trupti Mehta11-Jul-08 3:37
Trupti Mehta11-Jul-08 3:37 
AnswerRe: CArray problem Pin
Mark Salsbery11-Jul-08 4:59
Mark Salsbery11-Jul-08 4:59 
GeneralRe: CArray problem Pin
Trupti Mehta12-Jul-08 0:57
Trupti Mehta12-Jul-08 0:57 
GeneralRe: CArray problem Pin
Mark Salsbery12-Jul-08 7:47
Mark Salsbery12-Jul-08 7:47 
QuestionHow can I display a cursor for the text? Pin
danginkgo11-Jul-08 3:35
danginkgo11-Jul-08 3:35 
AnswerRe: How can I display a cursor for the text? Pin
led mike11-Jul-08 5:22
led mike11-Jul-08 5:22 
QuestionRegarding Application.ScreenUpdating() - Draw Graph in Excel Pin
vimaltiwari11-Jul-08 3:35
vimaltiwari11-Jul-08 3:35 

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.