Click here to Skip to main content
15,902,892 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionPrinting in MFC [modified] Pin
hxhl953-Aug-07 12:30
hxhl953-Aug-07 12:30 
AnswerRe: Printing in MFC Pin
bob169723-Aug-07 16:02
bob169723-Aug-07 16:02 
QuestionRe: Printing in MFC Pin
hxhl953-Aug-07 19:32
hxhl953-Aug-07 19:32 
AnswerRe: Printing in MFC Pin
bob169724-Aug-07 3:41
bob169724-Aug-07 3:41 
GeneralRe: Printing in MFC Pin
hxhl954-Aug-07 6:36
hxhl954-Aug-07 6:36 
AnswerRe: Printing in MFC Pin
bob169723-Aug-07 16:25
bob169723-Aug-07 16:25 
AnswerRe: Printing in MFC Pin
hxhl954-Aug-07 6:42
hxhl954-Aug-07 6:42 
GeneralRe: Printing in MFC Pin
bob169724-Aug-07 8:38
bob169724-Aug-07 8:38 
Did you try CEdit::GetLineCount() and CEdit::GetLine()

I'm guessing it won't help too much though since the line count is probably based on it's visual representation in the CEdit window. Font metrics are quite tricky when attempting a WYSIWYG application on any arbitrary device; Especially with line breaks and font grid fitting involved.

However, it may be what your after so I thought I'd post it if you haven't come across it in MSDN yet.

Hope that helps.
GeneralRe: Printing in MFC Pin
Bram van Kampen5-Aug-07 3:11
Bram van Kampen5-Aug-07 3:11 
AnswerRe: Printing in MFC Pin
hxhl955-Aug-07 9:56
hxhl955-Aug-07 9:56 
QuestionCreating Formatting Bar Pin
.NET- India 3-Aug-07 9:23
.NET- India 3-Aug-07 9:23 
QuestionRe: Creating Formatting Bar Pin
David Crow3-Aug-07 10:35
David Crow3-Aug-07 10:35 
AnswerRe: Creating Formatting Bar Pin
Hamid_RT3-Aug-07 18:44
Hamid_RT3-Aug-07 18:44 
QuestionCreate a wav file using existing wav files Pin
vikrant kpr3-Aug-07 7:56
vikrant kpr3-Aug-07 7:56 
AnswerRe: Create a wav file using existing wav files Pin
mid=57413-Aug-07 17:07
mid=57413-Aug-07 17:07 
AnswerRe: Create a wav file using existing wav files Pin
Karismatic3-Aug-07 20:38
Karismatic3-Aug-07 20:38 
QuestionAfxBeginThread() with a function in the main class Pin
Johpoke3-Aug-07 5:59
Johpoke3-Aug-07 5:59 
AnswerRe: AfxBeginThread() with a function in the main class Pin
led mike3-Aug-07 6:13
led mike3-Aug-07 6:13 
QuestionRe: AfxBeginThread() with a function in the main class Pin
David Crow3-Aug-07 6:15
David Crow3-Aug-07 6:15 
AnswerRe: AfxBeginThread() with a function in the main class [modified] Pin
Mark Salsbery3-Aug-07 6:20
Mark Salsbery3-Aug-07 6:20 
QuestionRe: AfxBeginThread() with a function in the main class Pin
Johpoke3-Aug-07 6:39
Johpoke3-Aug-07 6:39 
AnswerRe: AfxBeginThread() with a function in the main class Pin
Mark Salsbery3-Aug-07 6:45
Mark Salsbery3-Aug-07 6:45 
GeneralRe: AfxBeginThread() with a function in the main class Pin
Johpoke3-Aug-07 6:52
Johpoke3-Aug-07 6:52 
QuestionRe: AfxBeginThread() with a function in the main class Pin
David Crow3-Aug-07 6:54
David Crow3-Aug-07 6:54 
GeneralRe: AfxBeginThread() with a function in the main class Pin
Johpoke3-Aug-07 6:59
Johpoke3-Aug-07 6:59 

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.