Click here to Skip to main content
16,018,525 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Serialization Pin
David Crow24-Aug-06 3:13
David Crow24-Aug-06 3:13 
QuestionAdding a COM reference in vc++ .net Pin
tmoney10123-Aug-06 15:46
tmoney10123-Aug-06 15:46 
AnswerRe: Adding a COM reference in vc++ .net Pin
jk chan23-Aug-06 16:21
jk chan23-Aug-06 16:21 
AnswerRe: Adding a COM reference in vc++ .net Pin
prasad_som23-Aug-06 19:24
prasad_som23-Aug-06 19:24 
GeneralRe: Adding a COM reference in vc++ .net Pin
tmoney10123-Aug-06 20:14
tmoney10123-Aug-06 20:14 
GeneralRe: Adding a COM reference in vc++ .net Pin
prasad_som23-Aug-06 20:44
prasad_som23-Aug-06 20:44 
Questionreading the active font in a window Pin
phani_8923-Aug-06 15:21
phani_8923-Aug-06 15:21 
AnswerRe: reading the active font in a window Pin
Waldermort23-Aug-06 15:44
Waldermort23-Aug-06 15:44 
If you know the handle to the window why not just send the WM_GETFONT message? Another thing you can do is get the windows DC and use the GetCurrentObject() function. These will return a handle HFONT with which you can use the GetObject() function to fill in a LOGFONT structure.

It's possible that you have got the wrong window handle. Maybe you have the main HWND of the app which usually has the System font, but most text operations are within child controls which have their own window handles. Just like Notepad, the window font is system, but the Edit control is user defined.
AnswerRe: reading the active font in a window Pin
jk chan23-Aug-06 16:26
jk chan23-Aug-06 16:26 
GeneralRe: reading the active font in a window Pin
phani_8926-Aug-06 1:38
phani_8926-Aug-06 1:38 
JokeI wrote a JumpTigger(or you may call it webspider) for Windows Live Space~ Pin
Artex_xh23-Aug-06 13:45
Artex_xh23-Aug-06 13:45 
GeneralRe: I wrote a JumpTigger(or you may call it webspider) for Windows Live Space~ Pin
Rage23-Aug-06 21:19
professionalRage23-Aug-06 21:19 
QuestionIs it possible to send files through Telnet? Pin
Lord Kixdemp23-Aug-06 13:40
Lord Kixdemp23-Aug-06 13:40 
AnswerRe: Is it possible to send files through Telnet? Pin
Mike Dimmick23-Aug-06 13:55
Mike Dimmick23-Aug-06 13:55 
QuestionSemaphore count Pin
Julberto Danray23-Aug-06 10:56
Julberto Danray23-Aug-06 10:56 
AnswerRe: Semaphore count Pin
Michael Dunn23-Aug-06 12:13
sitebuilderMichael Dunn23-Aug-06 12:13 
AnswerRe: Semaphore count Pin
Julberto Danray23-Aug-06 14:10
Julberto Danray23-Aug-06 14:10 
AnswerRe: Semaphore count Pin
Joe Woodbury23-Aug-06 12:17
professionalJoe Woodbury23-Aug-06 12:17 
GeneralRe: Semaphore count Pin
Julberto Danray23-Aug-06 16:16
Julberto Danray23-Aug-06 16:16 
GeneralRe: Semaphore count Pin
Joe Woodbury23-Aug-06 16:45
professionalJoe Woodbury23-Aug-06 16:45 
AnswerRe: Semaphore count Pin
tyftyftyf22-Nov-09 16:03
tyftyftyf22-Nov-09 16:03 
QuestionDoes anybody recognise this... Pin
Waldermort23-Aug-06 10:36
Waldermort23-Aug-06 10:36 
AnswerRe: Does anybody recognise this... Pin
Rick York23-Aug-06 11:29
mveRick York23-Aug-06 11:29 
GeneralRe: Does anybody recognise this... Pin
Waldermort23-Aug-06 12:42
Waldermort23-Aug-06 12:42 
GeneralRe: Does anybody recognise this... Pin
Rage23-Aug-06 21:20
professionalRage23-Aug-06 21:20 

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.