Click here to Skip to main content
15,899,475 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Text coming out in a wrong orientation Pin
Anthony Appleyard1-Sep-09 6:37
Anthony Appleyard1-Sep-09 6:37 
GeneralRe: Text coming out in a wrong orientation Pin
Cedric Moonen1-Sep-09 7:33
Cedric Moonen1-Sep-09 7:33 
GeneralRe: Text coming out in a wrong orientation Pin
Richard MacCutchan1-Sep-09 7:54
mveRichard MacCutchan1-Sep-09 7:54 
General[Message Deleted] Pin
Anthony Appleyard1-Sep-09 8:15
Anthony Appleyard1-Sep-09 8:15 
QuestionRe: Text coming out in a wrong orientation Pin
David Crow1-Sep-09 8:52
David Crow1-Sep-09 8:52 
AnswerRe: Text coming out in a wrong orientation Pin
Anthony Appleyard1-Sep-09 11:31
Anthony Appleyard1-Sep-09 11:31 
GeneralRe: Text coming out in a wrong orientation Pin
Richard MacCutchan1-Sep-09 12:02
mveRichard MacCutchan1-Sep-09 12:02 
GeneralRe: Text coming out in a wrong orientation Pin
Anthony Appleyard1-Sep-09 23:59
Anthony Appleyard1-Sep-09 23:59 
I have been testing and looking through the program, and this fault only seems to happen with fonts whose names start with a @ character: @Arial Unicode MS, @Batang, etc.

The "set orientation" parameter when I call CreateFont(), is set as the numeric constant 0:

yaf=CreateFont(h,0,0,0,LF.lfWeight,LF.lfItalic,0,0,1,0,0,0,FF_DONTCARE,font); // h = desired font size, font is a string containing the name of the font to be used
GeneralRe: Text coming out in a wrong orientation [modified] Pin
Richard MacCutchan2-Sep-09 4:25
mveRichard MacCutchan2-Sep-09 4:25 
GeneralRe: Text coming out in a wrong orientation Pin
Anthony Appleyard2-Sep-09 5:13
Anthony Appleyard2-Sep-09 5:13 
GeneralRe: Text coming out in a wrong orientation Pin
Richard MacCutchan2-Sep-09 5:19
mveRichard MacCutchan2-Sep-09 5:19 
GeneralRe: Text coming out in a wrong orientation Pin
Anthony Appleyard2-Sep-09 6:18
Anthony Appleyard2-Sep-09 6:18 
GeneralRe: Text coming out in a wrong orientation Pin
Rick York2-Sep-09 11:53
mveRick York2-Sep-09 11:53 
GeneralRe: Text coming out in a wrong orientation Pin
Randor 2-Sep-09 9:51
professional Randor 2-Sep-09 9:51 
GeneralRe: Text coming out in a wrong orientation Pin
Richard MacCutchan3-Sep-09 2:04
mveRichard MacCutchan3-Sep-09 2:04 
QuestionHow to find that an application is executed from command prompt or by double clicking the application ? Pin
Dharmendra Bhargava1-Sep-09 4:51
Dharmendra Bhargava1-Sep-09 4:51 
AnswerRe: How to find that an application is executed from command prompt or by double clicking the application ? Pin
zhu_lin1-Sep-09 4:59
zhu_lin1-Sep-09 4:59 
GeneralRe: How to find that an application is executed from command prompt or by double clicking the application ? Pin
Dharmendra Bhargava1-Sep-09 20:51
Dharmendra Bhargava1-Sep-09 20:51 
AnswerRe: How to find that an application is executed from command prompt or by double clicking the application ? Pin
David Crow1-Sep-09 5:20
David Crow1-Sep-09 5:20 
AnswerRe: How to find that an application is executed from command prompt or by double clicking the application ? Pin
Michael Schubert1-Sep-09 5:25
Michael Schubert1-Sep-09 5:25 
QuestionHow to accept Enter key in Button control. Pin
birajendu1-Sep-09 3:59
birajendu1-Sep-09 3:59 
AnswerRe: How to accept Enter key in Button control. Pin
basementman1-Sep-09 4:02
basementman1-Sep-09 4:02 
GeneralRe: How to accept Enter key in Button control. Pin
birajendu1-Sep-09 4:18
birajendu1-Sep-09 4:18 
GeneralRe: How to accept Enter key in Button control. Pin
basementman1-Sep-09 4:34
basementman1-Sep-09 4:34 
QuestionIs the host name returned from gethostname() call same as what is returned by hostname command? Pin
learner_281-Sep-09 3:39
learner_281-Sep-09 3:39 

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.