Click here to Skip to main content
15,887,875 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionEdit boxes Interaction Pin
swaapu7-Oct-05 1:32
swaapu7-Oct-05 1:32 
QuestionDrawTextEx not working properly when printing on Windows 98 Pin
Paul Vickery7-Oct-05 1:24
professionalPaul Vickery7-Oct-05 1:24 
AnswerRe: DrawTextEx not working properly when printing on Windows 98 Pin
KaЯl7-Oct-05 1:54
KaЯl7-Oct-05 1:54 
AnswerRe: DrawTextEx not working properly when printing on Windows 98 Pin
Paul Vickery7-Oct-05 5:18
professionalPaul Vickery7-Oct-05 5:18 
GeneralRe: DrawTextEx not working properly when printing on Windows 98 Pin
KaЯl7-Oct-05 5:26
KaЯl7-Oct-05 5:26 
AnswerRe: DrawTextEx not working properly when printing on Windows 98 Pin
Paul Vickery7-Oct-05 5:43
professionalPaul Vickery7-Oct-05 5:43 
GeneralRe: DrawTextEx not working properly when printing on Windows 98 Pin
KaЯl7-Oct-05 6:05
KaЯl7-Oct-05 6:05 
GeneralRe: DrawTextEx not working properly when printing on Windows 98 Pin
Paul Vickery9-Oct-05 23:02
professionalPaul Vickery9-Oct-05 23:02 
Just looked at source for CEditView printing, as suggested by Jack Squirrel in his reply[^], and it seems that MFC uses a similar method, by having a guess, and then adjusting the string until it best fits. They do that for all platforms (MFC doesn't use DrawTextEx anywhere as MFC pre-dates the function). Looks like that's what I'm going to have to do after all Sigh | :sigh: , but at least our customer will be happy! Smile | :)


"The way of a fool seems right to him, but a wise man listens to advice" - Proverbs 12:15 (NIV)

-- modified at 5:05 Monday 10th October, 2005

GeneralRe: DrawTextEx not working properly when printing on Windows 98 Pin
KaЯl9-Oct-05 23:24
KaЯl9-Oct-05 23:24 
GeneralRe: DrawTextEx not working properly when printing on Windows 98 Pin
Jack Puppy7-Oct-05 14:33
Jack Puppy7-Oct-05 14:33 
GeneralRe: DrawTextEx not working properly when printing on Windows 98 Pin
Paul Vickery9-Oct-05 22:56
professionalPaul Vickery9-Oct-05 22:56 
Questiongetting the font name Pin
FarPointer7-Oct-05 1:15
FarPointer7-Oct-05 1:15 
AnswerRe: getting the font name Pin
KaЯl7-Oct-05 1:47
KaЯl7-Oct-05 1:47 
GeneralRe: getting the font name Pin
FarPointer7-Oct-05 5:54
FarPointer7-Oct-05 5:54 
QuestionAbout CDatabase : Plz Help : Urgent Pin
parims7-Oct-05 0:24
parims7-Oct-05 0:24 
QuestionRe: About CDatabase : Plz Help : Urgent Pin
David Crow7-Oct-05 3:19
David Crow7-Oct-05 3:19 
QuestionHow to Configure Windows Update Pin
Girish6017-Oct-05 0:16
Girish6017-Oct-05 0:16 
QuestionRe: How to Configure Windows Update Pin
David Crow7-Oct-05 3:34
David Crow7-Oct-05 3:34 
AnswerRe: How to Configure Windows Update Pin
Girish6017-Oct-05 20:09
Girish6017-Oct-05 20:09 
GeneralRe: How to Configure Windows Update Pin
David Crow10-Oct-05 2:56
David Crow10-Oct-05 2:56 
GeneralRe: How to Configure Windows Update Pin
Girish60110-Oct-05 4:23
Girish60110-Oct-05 4:23 
QuestionRe: How to Configure Windows Update Pin
David Crow10-Oct-05 4:30
David Crow10-Oct-05 4:30 
AnswerRe: How to Configure Windows Update Pin
Girish60110-Oct-05 5:00
Girish60110-Oct-05 5:00 
QuestionClass not visible Pin
billiam9046-Oct-05 23:27
billiam9046-Oct-05 23:27 
AnswerRe: Class not visible Pin
Colonel Walter E. Kurtz6-Oct-05 23:42
Colonel Walter E. Kurtz6-Oct-05 23:42 

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.