Click here to Skip to main content
16,006,382 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: We need CJLibrary to use this. Pin
Masaaki Onishi4-Jun-01 4:35
Masaaki Onishi4-Jun-01 4:35 
GeneralDate/Time Field in MS Access Pin
yamini3-Jun-01 21:30
yamini3-Jun-01 21:30 
QuestionHow to send a window to a second Desktop Pin
Ben Burnett3-Jun-01 20:19
Ben Burnett3-Jun-01 20:19 
AnswerRe: How to send a window to a second Desktop Pin
Tomasz Sowinski4-Jun-01 1:18
Tomasz Sowinski4-Jun-01 1:18 
GeneralCustomize CFileDialog Pin
3-Jun-01 19:56
suss3-Jun-01 19:56 
GeneralRe: Customize CFileDialog Pin
Marko Frelih3-Jun-01 21:10
Marko Frelih3-Jun-01 21:10 
GeneralRe: Customize CFileDialog Pin
3-Jun-01 21:47
suss3-Jun-01 21:47 
QuestionChristian Graus ... where are you? Pin
Michael Martin3-Jun-01 17:08
professionalMichael Martin3-Jun-01 17:08 
Actually anybody with the answer please respond, but it is usually Christian lurking about in the ether awaiting a question and therefore is the first to answer. Also this is probably up his alley as it is to do with fonts.

I have a dialog that among other controls has a multi-line Edit Box. Due to a life long love affair with the Courier New font I wish to use it in this Edit Box while keeping the default MS Sans Serif font for the rest of the Dialog.

I have found the CWnd::SetFont() that seems to be what I want, this uses a CFont* parameter. Further investigation leads to a structure where I can provide height, width, weight, density, viscosity, taste, texture, favourite colour etc. This is at a much lower level than I care to delve at the moment.

Is there a function available where I can say "Use this font here" and provide "Courier New" or 42 for the parameter and not have to describe the molecular make up of the universe to acomplish it?


Michael Martin
Pegasystems Pty Ltd
Australia
martm@pegasystems.com
+61 413-004-018
AnswerRe: Christian Graus ... where are you? Pin
PJ Arends3-Jun-01 17:39
professionalPJ Arends3-Jun-01 17:39 
GeneralRe: Christian Graus ... where are you? Pin
Michael Martin3-Jun-01 18:33
professionalMichael Martin3-Jun-01 18:33 
GeneralRe: Christian Graus ... where are you? Pin
3-Jun-01 18:55
suss3-Jun-01 18:55 
GeneralRe: Christian Graus ... where are you? Pin
PJ Arends3-Jun-01 21:26
professionalPJ Arends3-Jun-01 21:26 
GeneralRe: Christian Graus ... where are you? Pin
4-Jun-01 5:01
suss4-Jun-01 5:01 
GeneralRe: Christian Graus ... where are you? Pin
4-Jun-01 5:03
suss4-Jun-01 5:03 
QuestionSend Message? Pin
Kyle3-Jun-01 16:07
Kyle3-Jun-01 16:07 
AnswerRe: Send Message? Pin
Tomasz Sowinski4-Jun-01 1:22
Tomasz Sowinski4-Jun-01 1:22 
Generalcontrolling an ungracefull program kill Pin
3-Jun-01 16:01
suss3-Jun-01 16:01 
GeneralRe: How about Timer or Thread? Pin
Masaaki Onishi3-Jun-01 17:08
Masaaki Onishi3-Jun-01 17:08 
GeneralRe: How about Timer or Thread? Pin
3-Jun-01 17:30
suss3-Jun-01 17:30 
GeneralRe: How about Timer or Thread? Pin
3-Jun-01 18:16
suss3-Jun-01 18:16 
GeneralRe: controlling an ungracefull program kill Pin
Ben Burnett3-Jun-01 20:31
Ben Burnett3-Jun-01 20:31 
Generalgetline() Pin
3-Jun-01 14:53
suss3-Jun-01 14:53 
GeneralRe: getline() Pin
Christian Graus3-Jun-01 15:31
protectorChristian Graus3-Jun-01 15:31 
GeneralInternet connection.... Pin
Rickard Andersson203-Jun-01 10:29
Rickard Andersson203-Jun-01 10:29 
GeneralRe: Internet connection.... Pin
Pavlos Touboulidis3-Jun-01 16:59
Pavlos Touboulidis3-Jun-01 16:59 

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.