Click here to Skip to main content
14,689,369 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: c langugae Pin
David Crow23-Nov-15 3:38
MemberDavid Crow23-Nov-15 3:38 
QuestionQuestion about malloc a struct Pin
Millenia Nova20-Nov-15 17:02
MemberMillenia Nova20-Nov-15 17:02 
AnswerRe: Question about malloc a struct Pin
Jochen Arndt20-Nov-15 22:45
professionalJochen Arndt20-Nov-15 22:45 
GeneralRe: Question about malloc a struct Pin
Millenia Nova21-Nov-15 22:53
MemberMillenia Nova21-Nov-15 22:53 
GeneralRe: Question about malloc a struct Pin
Jochen Arndt22-Nov-15 1:22
professionalJochen Arndt22-Nov-15 1:22 
PraiseRe: Question about malloc a struct Pin
Millenia Nova22-Nov-15 12:12
MemberMillenia Nova22-Nov-15 12:12 
AnswerRe: Question about malloc a struct Pin
Richard MacCutchan20-Nov-15 22:45
mveRichard MacCutchan20-Nov-15 22:45 
QuestionMFC Printing of multiple views for a single doc Pin
cc.caprani20-Nov-15 3:51
Membercc.caprani20-Nov-15 3:51 
I have a single doc multiple views app in a tabbed view type mainframe. I have printing working nicely for each view on its own, but I need to print all views in one 'report'. I started by adding a "Print All" command in CMainFrame, and then traversing all document views (as CView pointers), but it gets very messy for a few reasons:
- each view must be cast to its RUNTIME_CLASS and checked to find which it is, so that its OnPrint function can be called
- each view has different scaling, so a single CPrintInfo won't suffice
- its not known in advance how many pages to set, but this can be overcome with m_bContinue checks.

Any suggestions on how to print a single document multiple views please?

Thanks!
Question. Pin
Brisingr Aerowing19-Nov-15 19:11
professionalBrisingr Aerowing19-Nov-15 19:11 
AnswerRe: Trying to port libcddb to MSVC, having issues... Pin
Jochen Arndt19-Nov-15 22:05
professionalJochen Arndt19-Nov-15 22:05 
QuestionRe: Trying to port libcddb to MSVC, having issues... Pin
CPallini19-Nov-15 22:24
mveCPallini19-Nov-15 22:24 
AnswerRe: Trying to port libcddb to MSVC, having issues... Pin
Richard MacCutchan20-Nov-15 0:13
mveRichard MacCutchan20-Nov-15 0:13 
GeneralRe: Trying to port libcddb to MSVC, having issues... Pin
Jochen Arndt20-Nov-15 1:14
professionalJochen Arndt20-Nov-15 1:14 
GeneralRe: Trying to port libcddb to MSVC, having issues... Pin
Richard MacCutchan20-Nov-15 1:23
mveRichard MacCutchan20-Nov-15 1:23 
GeneralRe: Trying to port libcddb to MSVC, having issues... Pin
Jochen Arndt20-Nov-15 1:53
professionalJochen Arndt20-Nov-15 1:53 
GeneralRe: Trying to port libcddb to MSVC, having issues... Pin
Richard MacCutchan20-Nov-15 4:02
mveRichard MacCutchan20-Nov-15 4:02 
GeneralRe: Trying to port libcddb to MSVC, having issues... Pin
Jochen Arndt20-Nov-15 4:06
professionalJochen Arndt20-Nov-15 4:06 
GeneralRe: Trying to port libcddb to MSVC, having issues... Pin
Richard MacCutchan20-Nov-15 4:03
mveRichard MacCutchan20-Nov-15 4:03 
QuestionSTL list member function(S) Pin
Amr.Mohammad8719-Nov-15 8:05
MemberAmr.Mohammad8719-Nov-15 8:05 
AnswerRe: STL list member function(S) Pin
Chris Losinger19-Nov-15 8:41
professionalChris Losinger19-Nov-15 8:41 
GeneralRe: STL list member function(S) Pin
Amr.Mohammad8719-Nov-15 13:47
MemberAmr.Mohammad8719-Nov-15 13:47 
GeneralRe: STL list member function(S) Pin
CPallini19-Nov-15 22:26
mveCPallini19-Nov-15 22:26 
QuestionReturning CBitmap* pointer Pin
_Flaviu18-Nov-15 21:15
Member_Flaviu18-Nov-15 21:15 
SuggestionRe: Returning CBitmap* pointer Pin
Richard MacCutchan18-Nov-15 22:40
mveRichard MacCutchan18-Nov-15 22:40 
GeneralRe: Returning CBitmap* pointer Pin
_Flaviu19-Nov-15 1:20
Member_Flaviu19-Nov-15 1:20 

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.