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

C / C++ / MFC

 
AnswerRe: How to format double with CString::Format()? Pin
Bob Stanneveld9-Nov-05 22:33
Bob Stanneveld9-Nov-05 22:33 
AnswerRe: How to format double with CString::Format()? Pin
Cedric Moonen9-Nov-05 22:44
Cedric Moonen9-Nov-05 22:44 
QuestionHow to convert normal chinese code to unicode ISO 10646 code Pin
LaHaHa9-Nov-05 20:45
LaHaHa9-Nov-05 20:45 
AnswerRe: How to convert normal chinese code to unicode ISO 10646 code Pin
John R. Shaw9-Nov-05 21:26
John R. Shaw9-Nov-05 21:26 
GeneralRe: How to convert normal chinese code to unicode ISO 10646 code Pin
LaHaHa9-Nov-05 21:48
LaHaHa9-Nov-05 21:48 
GeneralRe: How to convert normal chinese code to unicode ISO 10646 code Pin
John R. Shaw9-Nov-05 22:14
John R. Shaw9-Nov-05 22:14 
GeneralRe: How to convert normal chinese code to unicode ISO 10646 code Pin
LaHaHa9-Nov-05 23:13
LaHaHa9-Nov-05 23:13 
QuestionHFONT creates wrongly sized fonts Pin
Axonn Echysttas9-Nov-05 20:27
Axonn Echysttas9-Nov-05 20:27 
Hi everybody. I got a short question regarding the CreateFont API. I use it like this to create a Times New Roman font of size 20 but the result is a very small Times New Roman font of a height of only 12 pixels. In Word or Notepad for example, when one selects a font of size 20, the result is a lot bigger. I must be missing some conversion maybe?

hfntFont = CreateFont(20, 0, 0, 0, FW_NORMAL, FALSE, FALSE, FALSE, DEFAULT_CHARSET, OUT_TT_ONLY_PRECIS, CLIP_DEFAULT_PRECIS, ANTIALIASED_QUALITY, DEFAULT_PITCH | FF_DONTCARE, "Times New Roman");

-= E C H Y S T T A S =-
The Greater Mind Balance
GeneralRe: HFONT creates wrongly sized fonts Pin
Siarhei Alikhver9-Nov-05 20:52
Siarhei Alikhver9-Nov-05 20:52 
GeneralRe: HFONT creates wrongly sized fonts Pin
Axonn Echysttas9-Nov-05 21:45
Axonn Echysttas9-Nov-05 21:45 
AnswerRe: HFONT creates wrongly sized fonts Pin
John R. Shaw9-Nov-05 21:46
John R. Shaw9-Nov-05 21:46 
GeneralRe: HFONT creates wrongly sized fonts Pin
Axonn Echysttas9-Nov-05 22:09
Axonn Echysttas9-Nov-05 22:09 
GeneralRe: HFONT creates wrongly sized fonts Pin
Axonn Echysttas9-Nov-05 22:13
Axonn Echysttas9-Nov-05 22:13 
GeneralRe: HFONT creates wrongly sized fonts Pin
John R. Shaw9-Nov-05 22:24
John R. Shaw9-Nov-05 22:24 
GeneralRe: HFONT creates wrongly sized fonts Pin
Axonn Echysttas9-Nov-05 23:46
Axonn Echysttas9-Nov-05 23:46 
Questioncrystal report in vc++ Pin
lallaba9-Nov-05 20:21
lallaba9-Nov-05 20:21 
QuestionSendMessage Pin
Nishad S9-Nov-05 20:09
Nishad S9-Nov-05 20:09 
AnswerRe: SendMessage Pin
Johann Gerell9-Nov-05 20:35
Johann Gerell9-Nov-05 20:35 
AnswerRe: SendMessage Pin
James R. Twine10-Nov-05 8:26
James R. Twine10-Nov-05 8:26 
QuestionIs there any retstrictions to make an exe as Service Pin
snprani9-Nov-05 19:31
snprani9-Nov-05 19:31 
AnswerRe: Is there any retstrictions to make an exe as Service Pin
Calc209-Nov-05 20:37
Calc209-Nov-05 20:37 
AnswerRe: Is there any retstrictions to make an exe as Service Pin
Calc209-Nov-05 20:37
Calc209-Nov-05 20:37 
AnswerRe: Is there any retstrictions to make an exe as Service Pin
Bob Stanneveld9-Nov-05 22:38
Bob Stanneveld9-Nov-05 22:38 
QuestionPlz. help............. Pin
NityaKakkar9-Nov-05 19:16
NityaKakkar9-Nov-05 19:16 
AnswerRe: Plz. help............. Pin
ThatsAlok9-Nov-05 21:46
ThatsAlok9-Nov-05 21:46 

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.