Click here to Skip to main content
15,889,992 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CEdit control with button inside. Pin
Nibu babu thomas24-Jun-07 21:13
Nibu babu thomas24-Jun-07 21:13 
GeneralRe: CEdit control with button inside. Pin
Meindert224-Jun-07 22:34
Meindert224-Jun-07 22:34 
GeneralRe: CEdit control with button inside. Pin
Nibu babu thomas24-Jun-07 22:37
Nibu babu thomas24-Jun-07 22:37 
GeneralRe: CEdit control with button inside. Pin
Meindert224-Jun-07 23:58
Meindert224-Jun-07 23:58 
QuestionMemory Leak Detector Pin
Akin Ocal24-Jun-07 19:49
Akin Ocal24-Jun-07 19:49 
AnswerRe: Memory Leak Detector Pin
Hamid_RT24-Jun-07 19:55
Hamid_RT24-Jun-07 19:55 
AnswerRe: Memory Leak Detector Pin
Mark Salsbery25-Jun-07 8:20
Mark Salsbery25-Jun-07 8:20 
QuestionCFontHolder Pin
shiraztk24-Jun-07 19:37
shiraztk24-Jun-07 19:37 
Hi all

In my activeX control I have certain texts whose fonts I need to change using CFontDialog.
I cannot change the font using stock font since I need to have different font for different texts.
How can I do this?

This is what i did.

I have a member of CFontHolder m_Font in my control. Then with SetFont and GetFont method am trying to change m_Font. But I dont know how to set a particular font to m_Font object. And then get the font from m_Font and select that to DC so that TextOut will be drawing text with that Font.

Any help would of great help.

Regards





The Best Religion is Science.
Once you understand it, you will know God.

AnswerRe: CFontHolder Pin
Mark Salsbery25-Jun-07 8:24
Mark Salsbery25-Jun-07 8:24 
Questionerror LNK2005: _DllMain@12 already defined in MSVCRTD.lib(dllmain.obj) Pin
shivditya24-Jun-07 19:18
shivditya24-Jun-07 19:18 
AnswerRe: error LNK2005: _DllMain@12 already defined in MSVCRTD.lib(dllmain.obj) Pin
Hamid_RT24-Jun-07 19:56
Hamid_RT24-Jun-07 19:56 
AnswerRe: error LNK2005: _DllMain@12 already defined in MSVCRTD.lib(dllmain.obj) Pin
shivditya28-Jun-07 3:39
shivditya28-Jun-07 3:39 
GeneralRe: error LNK2005: _DllMain@12 already defined in MSVCRTD.lib(dllmain.obj) Pin
Hamid_RT28-Jun-07 4:16
Hamid_RT28-Jun-07 4:16 
GeneralRe: error LNK2005: _DllMain@12 already defined in MSVCRTD.lib(dllmain.obj) Pin
shivditya8-Jul-07 1:07
shivditya8-Jul-07 1:07 
GeneralRe: error LNK2005: _DllMain@12 already defined in MSVCRTD.lib(dllmain.obj) Pin
Hamid_RT8-Jul-07 19:17
Hamid_RT8-Jul-07 19:17 
QuestionHelp me! Rotate algorithm Pin
KienNT7824-Jun-07 18:30
KienNT7824-Jun-07 18:30 
AnswerRe: Help me! Rotate algorithm Pin
CPallini24-Jun-07 20:33
mveCPallini24-Jun-07 20:33 
GeneralRe: Help me! Rotate algorithm Pin
KienNT7824-Jun-07 22:42
KienNT7824-Jun-07 22:42 
QuestionSpy++ view messages posted/sent to a control, or from it? Pin
awah24-Jun-07 18:28
awah24-Jun-07 18:28 
AnswerRe: Spy++ view messages posted/sent to a control, or from it? Pin
JudyL_MD25-Jun-07 2:29
JudyL_MD25-Jun-07 2:29 
QuestionAbout dll dynamic load - a simple question? Pin
Best Kiluyar24-Jun-07 17:47
Best Kiluyar24-Jun-07 17:47 
AnswerRe: About dll dynamic load - a simple question? Pin
Stephen Hewitt24-Jun-07 18:16
Stephen Hewitt24-Jun-07 18:16 
Questionsmart phone Pin
zhuantoulele24-Jun-07 17:25
zhuantoulele24-Jun-07 17:25 
Questioncrash report SDK recommendation? [modified] Pin
code_discuss24-Jun-07 16:53
code_discuss24-Jun-07 16:53 
QuestionDebug is ok, but Release failed. Pin
Peter, Chan24-Jun-07 16:31
Peter, Chan24-Jun-07 16:31 

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.