Click here to Skip to main content
15,919,778 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Getting Installed Softwares Pin
Akin Ocal7-Jun-07 10:54
Akin Ocal7-Jun-07 10:54 
GeneralRe: Getting Installed Softwares Pin
David Crow7-Jun-07 10:58
David Crow7-Jun-07 10:58 
GeneralRe: Getting Installed Softwares Pin
vipin_nvk7-Jun-07 22:04
vipin_nvk7-Jun-07 22:04 
GeneralRe: Getting Installed Softwares Pin
David Crow8-Jun-07 2:18
David Crow8-Jun-07 2:18 
GeneralRe: Getting Installed Softwares Pin
vipin_nvk8-Jun-07 3:08
vipin_nvk8-Jun-07 3:08 
QuestionRe: Getting Installed Softwares Pin
David Crow8-Jun-07 3:11
David Crow8-Jun-07 3:11 
QuestionApending to a file Pin
LCI7-Jun-07 10:10
LCI7-Jun-07 10:10 
QuestionRe: Apending to a file Pin
David Crow7-Jun-07 10:23
David Crow7-Jun-07 10:23 
AnswerRe: Apending to a file Pin
LCI7-Jun-07 10:47
LCI7-Jun-07 10:47 
GeneralRe: Apending to a file Pin
David Crow7-Jun-07 10:52
David Crow7-Jun-07 10:52 
GeneralRe: Apending to a file Pin
Mark Salsbery7-Jun-07 11:04
Mark Salsbery7-Jun-07 11:04 
AnswerRe: Apending to a file Pin
Hamid_RT7-Jun-07 19:29
Hamid_RT7-Jun-07 19:29 
QuestionMFC Textbox unable to be displayed in CFrameWnd? Pin
Cyrilix7-Jun-07 9:36
Cyrilix7-Jun-07 9:36 
AnswerRe: MFC Textbox unable to be displayed in CFrameWnd? Pin
Wes Aday7-Jun-07 9:40
professionalWes Aday7-Jun-07 9:40 
GeneralRe: MFC Textbox unable to be displayed in CFrameWnd? Pin
Cyrilix7-Jun-07 9:52
Cyrilix7-Jun-07 9:52 
GeneralRe: MFC Textbox unable to be displayed in CFrameWnd? Pin
Wes Aday7-Jun-07 9:56
professionalWes Aday7-Jun-07 9:56 
GeneralRe: MFC Textbox unable to be displayed in CFrameWnd? Pin
Mark Salsbery7-Jun-07 10:36
Mark Salsbery7-Jun-07 10:36 
GeneralRe: MFC Textbox unable to be displayed in CFrameWnd? Pin
Michael Dunn7-Jun-07 20:01
sitebuilderMichael Dunn7-Jun-07 20:01 
QuestionCDC DrawText Pin
gurucplusplus7-Jun-07 8:04
gurucplusplus7-Jun-07 8:04 
AnswerRe: CDC DrawText Pin
Matthew Faithfull7-Jun-07 8:19
Matthew Faithfull7-Jun-07 8:19 
AnswerRe: CDC DrawText [modified] Pin
Mark Salsbery7-Jun-07 8:19
Mark Salsbery7-Jun-07 8:19 
GeneralRe: CDC DrawText Pin
gurucplusplus7-Jun-07 8:28
gurucplusplus7-Jun-07 8:28 
GeneralRe: CDC DrawText Pin
Mark Salsbery7-Jun-07 8:35
Mark Salsbery7-Jun-07 8:35 
When you call DrawText, you ARE updating the text.

You use Invalidate methods to force a repaint from outside of OnPaint/OnDraw.

For example, if the text you are drawing changes as the result of some process in the application
and you want the window updated to reflect the change, then you'd call Invalidate. This will
mark the given area of the window as invalid. On the next WM_PAINT message (which will call
OnDraw() for CViews) you will call DrawText() with the updated text.

I hope that made sense Smile | :)
Mark


"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

GeneralRe: CDC DrawText Pin
gurucplusplus7-Jun-07 8:52
gurucplusplus7-Jun-07 8:52 
GeneralRe: CDC DrawText Pin
Mark Salsbery7-Jun-07 9:11
Mark Salsbery7-Jun-07 9:11 

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.