Click here to Skip to main content
15,891,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: GetFont() returning Null Pin
Code-o-mat30-May-10 23:26
Code-o-mat30-May-10 23:26 
GeneralRe: GetFont() returning Null Pin
decoder_8530-May-10 23:35
decoder_8530-May-10 23:35 
GeneralRe: GetFont() returning Null Pin
decoder_8530-May-10 23:38
decoder_8530-May-10 23:38 
GeneralRe: GetFont() returning Null Pin
Code-o-mat30-May-10 23:41
Code-o-mat30-May-10 23:41 
GeneralRe: GetFont() returning Null Pin
decoder_8530-May-10 23:55
decoder_8530-May-10 23:55 
GeneralRe: GetFont() returning Null Pin
Code-o-mat31-May-10 0:35
Code-o-mat31-May-10 0:35 
GeneralRe: GetFont() returning Null Pin
decoder_8531-May-10 3:01
decoder_8531-May-10 3:01 
GeneralRe: GetFont() returning Null Pin
Code-o-mat31-May-10 3:27
Code-o-mat31-May-10 3:27 
My guesses are as follows:
-since the documentation for WM_GETFONT says that a NULL return value means the control is using the system font, a NULL from the static control must mean it is using the system font.
-possible that the static control will use the font of its parent window to draw text unless it gets a different font explicitly set to it via WM_SETFONT, and that is why you get the NULL back, meaning that the static doesn't have its own font set, it will use its parent's.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Computers are evil, EVIL i tell you!! <

GeneralRe: GetFont() returning Null Pin
decoder_8531-May-10 18:25
decoder_8531-May-10 18:25 
GeneralRe: GetFont() returning Null Pin
Code-o-mat31-May-10 21:35
Code-o-mat31-May-10 21:35 
QuestionConvert character to other character [modified] Pin
MsmVc30-May-10 19:03
MsmVc30-May-10 19:03 
AnswerRe: Convert character to other character Pin
Akt_4_U30-May-10 19:46
Akt_4_U30-May-10 19:46 
GeneralRe: Convert character to other character Pin
MsmVc30-May-10 19:49
MsmVc30-May-10 19:49 
GeneralRe: Convert character to other character Pin
Akt_4_U30-May-10 19:54
Akt_4_U30-May-10 19:54 
GeneralRe: Convert character to other character Pin
MsmVc30-May-10 20:07
MsmVc30-May-10 20:07 
AnswerRe: Convert character to other character Pin
Stephen Hewitt30-May-10 20:06
Stephen Hewitt30-May-10 20:06 
GeneralRe: Convert character to other character Pin
MsmVc30-May-10 20:08
MsmVc30-May-10 20:08 
QuestionIs CB_FINDSTRINGEXACT unicode or ansii (mbcs)? Pin
Code-o-mat30-May-10 3:19
Code-o-mat30-May-10 3:19 
AnswerRe: Is CB_FINDSTRINGEXACT unicode or ansii (mbcs)? Pin
Aescleal30-May-10 9:32
Aescleal30-May-10 9:32 
GeneralRe: Is CB_FINDSTRINGEXACT unicode or ansii (mbcs)? Pin
Code-o-mat30-May-10 10:09
Code-o-mat30-May-10 10:09 
GeneralRe: Is CB_FINDSTRINGEXACT unicode or ansii (mbcs)? Pin
Aescleal30-May-10 10:19
Aescleal30-May-10 10:19 
GeneralRe: Is CB_FINDSTRINGEXACT unicode or ansii (mbcs)? Pin
Code-o-mat30-May-10 10:25
Code-o-mat30-May-10 10:25 
GeneralRe: Is CB_FINDSTRINGEXACT unicode or ansii (mbcs)? Pin
Aescleal30-May-10 10:29
Aescleal30-May-10 10:29 
GeneralRe: Is CB_FINDSTRINGEXACT unicode or ansii (mbcs)? Pin
Code-o-mat30-May-10 11:14
Code-o-mat30-May-10 11:14 
QuestionIs this multi-threading samples is the bug of vc6 ? Pin
wangningyu30-May-10 2:47
wangningyu30-May-10 2:47 

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.