How to add underline to static text
C / C++ / MFC
3
Posts
2
Posters
0
Views
1
Watching
-
-
i used this method in OnInitDialog() & it's not working CWnd *pWnd; LOGFONT lf; CFont font; pWnd = GetDlgItem(IDC_STATIC_LINK); pWnd->GetFont()->GetLogFont(&lf); lf.lfUnderline = TRUE; font.CreateFontIndirect(&lf); pWnd->SetFont(&font); any ideas?:rose:
override the OnCtlCOlor() message and set it there
situations to avoid #37:
"good morning ... how many sugars do you take in your coffee ... and what was your name again?"coming soon: situations to avoid #38: "...and the dog was there too?"
-
override the OnCtlCOlor() message and set it there
situations to avoid #37:
"good morning ... how many sugars do you take in your coffee ... and what was your name again?"coming soon: situations to avoid #38: "...and the dog was there too?"