Click here to Skip to main content
15,891,316 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalregsvr32 sample debugging Pin
vancouver7772-Oct-03 5:55
vancouver7772-Oct-03 5:55 
GeneralRe: regsvr32 sample debugging Pin
sdfdsfa2-Oct-03 6:06
sdfdsfa2-Oct-03 6:06 
GeneralRe: regsvr32 sample debugging Pin
vancouver7772-Oct-03 7:11
vancouver7772-Oct-03 7:11 
GeneralRe: regsvr32 sample debugging Pin
igor19602-Oct-03 7:49
igor19602-Oct-03 7:49 
GeneralRe: regsvr32 sample debugging Pin
vancouver7772-Oct-03 10:32
vancouver7772-Oct-03 10:32 
GeneralRe: regsvr32 sample debugging Pin
sdfdsfa2-Oct-03 11:00
sdfdsfa2-Oct-03 11:00 
GeneralHelp in Generating Reports Pin
TheFox2-Oct-03 5:13
TheFox2-Oct-03 5:13 
GeneralRe: Help in Generating Reports Pin
G. Steudtel2-Oct-03 5:37
G. Steudtel2-Oct-03 5:37 
Hi,
probaly the easiest approach is before saving your data, you transform the data into a CStringArray. That is for every data you need report you transform this data into a textual representation (CString) and add it to the array.
Then you may store the array into a file. If you take care that a line is not too long, then you may also print that array line by line. Do a heighth calualtion and divide the paper length by this height to get the number of pages to print.
Your application framework should alredy have the appropriate Print(Preview) functions installed.

If you do NOT want to select File New, rename it.

Regards

G. Steudtel
GeneralRe: Help in Generating Reports Pin
TheFox2-Oct-03 5:52
TheFox2-Oct-03 5:52 
GeneralRe: Help in Generating Reports Pin
G. Steudtel2-Oct-03 6:28
G. Steudtel2-Oct-03 6:28 
Generalbuttons requiring passwords Pin
PaulUK012-Oct-03 4:47
PaulUK012-Oct-03 4:47 
GeneralRe: buttons requiring passwords Pin
David Crow2-Oct-03 6:16
David Crow2-Oct-03 6:16 
GeneralRe: buttons requiring passwords Pin
Navin2-Oct-03 6:46
Navin2-Oct-03 6:46 
GeneralRe: buttons requiring passwords Pin
PaulUK012-Oct-03 7:36
PaulUK012-Oct-03 7:36 
GeneralClose a view during OnDraw Pin
CodeBrain2-Oct-03 4:06
CodeBrain2-Oct-03 4:06 
GeneralRe: Close a view during OnDraw Pin
Mike Dimmick2-Oct-03 4:12
Mike Dimmick2-Oct-03 4:12 
GeneralRe: Close a view during OnDraw Pin
CodeBrain3-Oct-03 0:36
CodeBrain3-Oct-03 0:36 
GeneralChanging the color of PUSH button at runtime Pin
venkyhyd2-Oct-03 3:49
venkyhyd2-Oct-03 3:49 
GeneralRe: Changing the color of PUSH button at runtime Pin
Mike Dimmick2-Oct-03 4:11
Mike Dimmick2-Oct-03 4:11 
GeneralRe: Changing the color of PUSH button at runtime Pin
vcplusplus2-Oct-03 7:49
vcplusplus2-Oct-03 7:49 
QuestionHow to prevent "Screen Capture" ? Pin
jajamal2-Oct-03 3:38
jajamal2-Oct-03 3:38 
AnswerRe: How to prevent "Screen Capture" ? Pin
jhwurmbach2-Oct-03 4:47
jhwurmbach2-Oct-03 4:47 
AnswerRe: How to prevent "Screen Capture" ? Pin
jajamal2-Oct-03 5:09
jajamal2-Oct-03 5:09 
GeneralRe: How to prevent "Screen Capture" ? Pin
igor19602-Oct-03 8:55
igor19602-Oct-03 8:55 
AnswerRe: How to prevent "Screen Capture" ? Pin
Blake Coverett2-Oct-03 10:13
Blake Coverett2-Oct-03 10:13 

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.