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

C / C++ / MFC

 
AnswerRe: Text coming out in a wrong orientation Pin
Richard MacCutchan1-Sep-09 6:00
mveRichard MacCutchan1-Sep-09 6:00 
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 
Well, you have put this code extract between 'pre' tags but it is so badly formatted and spaced as to be virtually unreadable. You could start by reformatting such that each statement is on its own source line, and the code is correctly indented.

As I have stated before you need to use the debugger to isolate the point at which the particular character is being rendered, and capture the font that is being used at that point in order to give a clue as to which statement may be at fault.

For example in the statement:
zaf=CreateFont(int(dj*.4/(p1616?1:4)),0,0,0,LF.lfWeight,LF.lfItalic,0,0,1,0,0,0,FF_DONTCARE,font);

what are the values of dj, p1616, and font? Are they as expected by you and if not what values should they contain?
GeneralRe: Text coming out in a wrong orientation Pin
Anthony Appleyard1-Sep-09 23:59
Anthony Appleyard1-Sep-09 23:59 
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 

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.