Click here to Skip to main content
16,006,605 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to display image in View? Pin
Not Active5-Sep-01 10:42
mentorNot Active5-Sep-01 10:42 
GeneralBSTR parameter to Stored Procedure Pin
Bigge5-Sep-01 8:46
Bigge5-Sep-01 8:46 
GeneralRe: BSTR parameter to Stored Procedure Pin
Not Active5-Sep-01 10:26
mentorNot Active5-Sep-01 10:26 
GeneralRe: BSTR parameter to Stored Procedure Pin
Rashid Thadha5-Sep-01 11:52
Rashid Thadha5-Sep-01 11:52 
GeneralTooltips Pin
5-Sep-01 7:40
suss5-Sep-01 7:40 
GeneralRe: Tooltips Pin
Rashid Thadha5-Sep-01 11:53
Rashid Thadha5-Sep-01 11:53 
GeneralRe: Tooltips Pin
6-Sep-01 6:56
suss6-Sep-01 6:56 
GeneralCRichEditView printing Pin
billb21125-Sep-01 7:16
billb21125-Sep-01 7:16 
This is the first time I've ever had to do printing within the MFC framework. I have a CRichEditView that does not stop spewing out pages. I started debugging in OnPrint and I notice that the CRichEditView calls GetTextLength() to get the length of the text in the control, it then compares it to the amount of text printed PrintPage(), but those numbers never match. The return from GetTextLength is ALWAYS greater by a couple hundred bytes than the call from PrintPage. Has anyone else seen this problem? I tried doing my own pagination, but I never know when the end of the document is because of the seeminly erroneous return from either GetTextLength or PrintPage. Are the RTF formatting characters in the control being counted as characters in the GetTextLength call and PrintPage?

Any help is appreciated.

Bill

http://www.ratebeer.com
GeneralPlease give me help. Pin
LoveInSnowing5-Sep-01 6:57
LoveInSnowing5-Sep-01 6:57 
GeneralRe: Please give me help. Pin
Rashid Thadha5-Sep-01 11:55
Rashid Thadha5-Sep-01 11:55 
GeneralRe: Please give me help. Pin
LoveInSnowing5-Sep-01 18:35
LoveInSnowing5-Sep-01 18:35 
GeneralRe: Please give me help. Pin
Martin Bohring5-Sep-01 21:28
Martin Bohring5-Sep-01 21:28 
GeneralA Simple Question Pin
Steve Thresher5-Sep-01 6:14
Steve Thresher5-Sep-01 6:14 
GeneralRe: A Simple Question Pin
Oliver Anhuth5-Sep-01 20:18
Oliver Anhuth5-Sep-01 20:18 
GeneralListCtrl Pin
Bernard Chayer5-Sep-01 5:47
professionalBernard Chayer5-Sep-01 5:47 
GeneralRe: ListCtrl Pin
Michael Dunn5-Sep-01 7:19
sitebuilderMichael Dunn5-Sep-01 7:19 
GeneralRe: ListCtrl Pin
Bernard Chayer5-Sep-01 7:49
professionalBernard Chayer5-Sep-01 7:49 
GeneralRe: ListCtrl Pin
Michael Dunn5-Sep-01 15:28
sitebuilderMichael Dunn5-Sep-01 15:28 
GeneralRe: ListCtrl Pin
Bernard Chayer6-Sep-01 5:00
professionalBernard Chayer6-Sep-01 5:00 
GeneralRe: ListCtrl Pin
Michael Dunn6-Sep-01 6:35
sitebuilderMichael Dunn6-Sep-01 6:35 
GeneralRe: ListCtrl Pin
Bernard Chayer6-Sep-01 7:05
professionalBernard Chayer6-Sep-01 7:05 
Generaltoolbar and hyperlinks Pin
SnapRick5-Sep-01 4:36
SnapRick5-Sep-01 4:36 
GeneralRe: toolbar and hyperlinks Pin
Erik Thompson5-Sep-01 10:45
sitebuilderErik Thompson5-Sep-01 10:45 
GeneralText color in a CRichEditCtrl Pin
5-Sep-01 4:00
suss5-Sep-01 4:00 
GeneralRe: Text color in a CRichEditCtrl Pin
billb21125-Sep-01 7:15
billb21125-Sep-01 7:15 

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.