Click here to Skip to main content
14,428,410 members

C / C++ / MFC

 
AnswerRe: Problem displaying CStatic text item Pin
David Crow1-Jul-15 3:03
MemberDavid Crow1-Jul-15 3:03 
GeneralRe: Problem displaying CStatic text item Pin
ForNow1-Jul-15 4:36
MemberForNow1-Jul-15 4:36 
GeneralRe: Problem displaying CStatic text item Pin
David Crow1-Jul-15 4:41
MemberDavid Crow1-Jul-15 4:41 
GeneralRe: Problem displaying CStatic text item Pin
jeron11-Jul-15 5:04
Memberjeron11-Jul-15 5:04 
GeneralRe: Problem displaying CStatic text item Pin
ForNow1-Jul-15 6:19
MemberForNow1-Jul-15 6:19 
GeneralRe: Problem displaying CStatic text item Pin
jeron11-Jul-15 6:59
Memberjeron11-Jul-15 6:59 
GeneralRe: Problem displaying CStatic text item Pin
ForNow1-Jul-15 11:21
MemberForNow1-Jul-15 11:21 
GeneralRe: Problem displaying CStatic text item Pin
jeron11-Jul-15 12:32
Memberjeron11-Jul-15 12:32 
How often are you changing fonts? Once? if so just call SetFont(...) on the static control object in the OnInitDialog() handler and be done with it (make sure the CFont object is a member of the dialog class). After that you can call SetWindowText() whenever you want. Should be quick enough to try.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

GeneralRe: Problem displaying CStatic text item Pin
ForNow1-Jul-15 13:19
MemberForNow1-Jul-15 13:19 
GeneralRe: Problem displaying CStatic text item Pin
ForNow2-Jul-15 14:27
MemberForNow2-Jul-15 14:27 
Questionrecv no blocking Pin
mosine29-Jun-15 22:33
Membermosine29-Jun-15 22:33 
AnswerRe: recv no blocking Pin
CPallini29-Jun-15 22:54
mveCPallini29-Jun-15 22:54 
GeneralRe: recv no blocking Pin
mosine29-Jun-15 23:21
Membermosine29-Jun-15 23:21 
GeneralRe: recv no blocking Pin
CPallini29-Jun-15 23:35
mveCPallini29-Jun-15 23:35 
GeneralRe: recv no blocking Pin
mosine29-Jun-15 23:52
Membermosine29-Jun-15 23:52 
GeneralRe: recv no blocking Pin
CPallini30-Jun-15 0:01
mveCPallini30-Jun-15 0:01 
GeneralRe: recv no blocking Pin
mosine30-Jun-15 0:06
Membermosine30-Jun-15 0:06 
GeneralRe: recv no blocking Pin
CPallini30-Jun-15 0:24
mveCPallini30-Jun-15 0:24 
GeneralRe: recv no blocking Pin
Daniel Pfeffer30-Jun-15 9:12
professionalDaniel Pfeffer30-Jun-15 9:12 
GeneralRe: recv no blocking Pin
Albert Holguin30-Jun-15 14:26
professionalAlbert Holguin30-Jun-15 14:26 
GeneralRe: recv no blocking Pin
Daniel Pfeffer30-Jun-15 18:53
professionalDaniel Pfeffer30-Jun-15 18:53 
GeneralRe: recv no blocking Pin
Albert Holguin1-Jul-15 5:02
professionalAlbert Holguin1-Jul-15 5:02 
GeneralRe: recv no blocking Pin
Albert Holguin30-Jun-15 14:27
professionalAlbert Holguin30-Jun-15 14:27 
QuestionCan a modeless Dialog Box be a main window "m_pMainWnd" Pin
ForNow29-Jun-15 6:07
MemberForNow29-Jun-15 6:07 
AnswerRe: Can a modeless Dialog Box be a main window "m_pMainWnd" Pin
Richard MacCutchan29-Jun-15 6:12
communityengineerRichard MacCutchan29-Jun-15 6:12 

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.