Click here to Skip to main content
15,912,977 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: error Pin
Jonathan [Darka]25-Jul-07 21:43
professionalJonathan [Darka]25-Jul-07 21:43 
AnswerRe: error Pin
Cedric Moonen25-Jul-07 21:45
Cedric Moonen25-Jul-07 21:45 
AnswerRe: error Pin
Nishad S25-Jul-07 22:35
Nishad S25-Jul-07 22:35 
QuestionRe: error Pin
Hamid_RT31-Jul-07 20:52
Hamid_RT31-Jul-07 20:52 
Questioninterfacing visual c++ 6.0 with matlab 7.0 Pin
azeema25-Jul-07 19:46
azeema25-Jul-07 19:46 
AnswerRe: interfacing visual c++ 6.0 with matlab 7.0 Pin
jhwurmbach25-Jul-07 21:23
jhwurmbach25-Jul-07 21:23 
Questionhow to create a CFont object Pin
harsha u25-Jul-07 19:40
harsha u25-Jul-07 19:40 
AnswerRe: how to create a CFont object Pin
Mark Salsbery25-Jul-07 19:59
Mark Salsbery25-Jul-07 19:59 
Here's one way, ripped right from the docs:

CClientDC dc(this);
CFont font;
VERIFY(font.CreatePointFont(120, "Arial", &dc));

// Do something with the font just created...
CFont* def_font = dc.SelectObject(&font);
dc.TextOut(5, 5, "Hello", 5);
dc.SelectObject(def_font);
// Done with the font. Delete the font object.
font.DeleteObject();


Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

AnswerRe: how to create a CFont object Pin
ThatsAlok25-Jul-07 20:02
ThatsAlok25-Jul-07 20:02 
GeneralRe: how to create a CFont object Pin
Rajesh R Subramanian25-Jul-07 22:22
professionalRajesh R Subramanian25-Jul-07 22:22 
AnswerRe: how to create a CFont object Pin
Hamid_RT31-Jul-07 20:50
Hamid_RT31-Jul-07 20:50 
QuestionMDI child window Pin
Anu_Bala25-Jul-07 18:32
Anu_Bala25-Jul-07 18:32 
AnswerRe: MDI child window Pin
Mark Salsbery25-Jul-07 18:43
Mark Salsbery25-Jul-07 18:43 
GeneralRe: MDI child window Pin
Anu_Bala25-Jul-07 19:04
Anu_Bala25-Jul-07 19:04 
GeneralRe: MDI child window Pin
Mark Salsbery25-Jul-07 19:10
Mark Salsbery25-Jul-07 19:10 
GeneralRe: MDI child window Pin
Anu_Bala25-Jul-07 19:17
Anu_Bala25-Jul-07 19:17 
GeneralRe: MDI child window Pin
Mark Salsbery25-Jul-07 19:31
Mark Salsbery25-Jul-07 19:31 
GeneralRe: MDI child window Pin
Anu_Bala25-Jul-07 19:36
Anu_Bala25-Jul-07 19:36 
GeneralRe: MDI child window Pin
Mark Salsbery25-Jul-07 19:47
Mark Salsbery25-Jul-07 19:47 
GeneralRe: MDI child window Pin
Anu_Bala25-Jul-07 20:02
Anu_Bala25-Jul-07 20:02 
GeneralRe: MDI child window Pin
Nelek25-Jul-07 21:09
protectorNelek25-Jul-07 21:09 
Questionwriting a string to a text file Pin
moonraker92825-Jul-07 14:09
moonraker92825-Jul-07 14:09 
AnswerRe: writing a string to a text file Pin
Mark Salsbery25-Jul-07 14:23
Mark Salsbery25-Jul-07 14:23 
GeneralRe: writing a string to a text file Pin
Stephen Hewitt25-Jul-07 18:03
Stephen Hewitt25-Jul-07 18:03 
GeneralRe: writing a string to a text file Pin
Mark Salsbery25-Jul-07 18:41
Mark Salsbery25-Jul-07 18:41 

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.