Click here to Skip to main content
16,005,206 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Hard disk serial Pin
Fabio Miguez17-Jan-05 16:08
Fabio Miguez17-Jan-05 16:08 
GeneralRe: Hard disk serial Pin
Ryan Binns17-Jan-05 19:46
Ryan Binns17-Jan-05 19:46 
GeneralRe: Hard disk serial Pin
thompsons17-Jan-05 17:53
thompsons17-Jan-05 17:53 
GeneralRe: Hard disk serial Pin
Fabio Miguez18-Jan-05 1:27
Fabio Miguez18-Jan-05 1:27 
GeneralRe: Hard disk serial Pin
Blake Miller18-Jan-05 5:07
Blake Miller18-Jan-05 5:07 
GeneralRe: Hard disk serial Pin
Fabio Miguez18-Jan-05 5:34
Fabio Miguez18-Jan-05 5:34 
GeneralInitilization List Pin
poiut17-Jan-05 9:24
poiut17-Jan-05 9:24 
GeneralRe: Initilization List Pin
Shog917-Jan-05 10:30
sitebuilderShog917-Jan-05 10:30 
If the class in question has a constructor that takes the arguments you want it to, then you're good to go. Unfortunately for you, the only constructor for CFont is the default, which takes no arguments and doesn't really do much of anything. You need to call the appropriate CreateFont* to get an actual font created.

You might want to take a look at GDI+ if you don't need Win95 compatibility - its object model is a lot nicer.

Shog9

I'm not the Jack of Diamonds... I'm not the six of spades.
I don't know what you thought; I'm not your astronaut...

GeneralRe: bloodshed dev c++ compiler Pin
nuclzink17-Jan-05 13:55
nuclzink17-Jan-05 13:55 
GeneralSHFileOperation Pin
Miszou17-Jan-05 8:52
Miszou17-Jan-05 8:52 
GeneralRe: SHFileOperation Pin
Shog917-Jan-05 10:23
sitebuilderShog917-Jan-05 10:23 
QuestionWhere's iostream? Pin
Kyle Bishop17-Jan-05 7:58
Kyle Bishop17-Jan-05 7:58 
AnswerRe: Where's iostream? Pin
Tim Smith17-Jan-05 8:20
Tim Smith17-Jan-05 8:20 
AnswerRe: Where's iostream? Pin
Gerald Schwab17-Jan-05 9:22
Gerald Schwab17-Jan-05 9:22 
AnswerRe: Where's iostream? Pin
User 665817-Jan-05 9:23
User 665817-Jan-05 9:23 
GeneralRe: Where's iostream? Pin
Kyle Bishop17-Jan-05 10:04
Kyle Bishop17-Jan-05 10:04 
GeneralRe: Where's iostream? Pin
Christian Graus17-Jan-05 10:11
protectorChristian Graus17-Jan-05 10:11 
GeneralRe: Where's iostream? Pin
Kyle Bishop17-Jan-05 10:32
Kyle Bishop17-Jan-05 10:32 
GeneralRe: Where's iostream? Pin
Christian Graus17-Jan-05 10:36
protectorChristian Graus17-Jan-05 10:36 
AnswerRe: Where's iostream? Pin
Michael Dunn17-Jan-05 14:43
sitebuilderMichael Dunn17-Jan-05 14:43 
AnswerRe: Where's iostream? Pin
thompsons17-Jan-05 18:01
thompsons17-Jan-05 18:01 
GeneralRe: Where's iostream? Pin
Aamir Butt17-Jan-05 18:48
Aamir Butt17-Jan-05 18:48 
GeneralUsing filename from VC6 DirectX sample to C project Pin
rocman17-Jan-05 6:57
rocman17-Jan-05 6:57 
Generalcorrectly play WM_MOUSEWHEEL Pin
Member 166110217-Jan-05 6:35
Member 166110217-Jan-05 6:35 
GeneralRe: correctly play WM_MOUSEWHEEL Pin
greba17-Jan-05 7:29
greba17-Jan-05 7:29 

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.