Click here to Skip to main content
16,005,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: STL/for_each/templated function question Pin
Paul M Watt24-Feb-02 17:37
mentorPaul M Watt24-Feb-02 17:37 
GeneralRe: STL/for_each/templated function question Pin
Joaquín M López Muñoz24-Feb-02 20:03
Joaquín M López Muñoz24-Feb-02 20:03 
QuestionSTL from MS oder SGI? Pin
Travis D. Mathison24-Feb-02 15:46
Travis D. Mathison24-Feb-02 15:46 
AnswerRe: STL from MS oder SGI? Pin
Paul M Watt24-Feb-02 15:55
mentorPaul M Watt24-Feb-02 15:55 
GeneralRe: STL from MS oder SGI? Pin
Travis D. Mathison24-Feb-02 16:06
Travis D. Mathison24-Feb-02 16:06 
AnswerRe: STL from MS oder SGI? Pin
Christian Graus24-Feb-02 15:54
protectorChristian Graus24-Feb-02 15:54 
GeneralRe: STL from MS oder SGI? Pin
Travis D. Mathison24-Feb-02 16:06
Travis D. Mathison24-Feb-02 16:06 
QuestionCFileDialog and printing different views? Pin
Craig Miller24-Feb-02 13:06
Craig Miller24-Feb-02 13:06 
Hi,

I have an SDI application that has a CFormView derived class as well as a docking window with a CDialog derived class. When the user clicks on the Print command, the message goes to the CFormView derived class where I modified the CFileDialog with two radio buttons to either print the main CFormView or the CDialog window.

Well, when I do this and I call the CDialog derived printing code for some reason, the document gets printed three times and then throws an exception. In actuallity, it should only print one page, I also tried setting the max page to 1 to no evale. I can't figure out why this happens, I guess it could be because the CFormView class is processing the print call but I'm not sure.

Does anyone have any suggestions on how I can fix this peculiure problem?

Thanks in advance,

Craig
AnswerRe: CFileDialog and printing different views? Pin
Roger Allen25-Feb-02 3:16
Roger Allen25-Feb-02 3:16 
GeneralRe: CFileDialog and printing different views? Pin
Craig Miller25-Feb-02 12:03
Craig Miller25-Feb-02 12:03 
GeneralOpenGL with MDI application Pin
Rajveer24-Feb-02 10:58
Rajveer24-Feb-02 10:58 
GeneralRe: OpenGL with MDI application Pin
Derek Waters24-Feb-02 11:46
Derek Waters24-Feb-02 11:46 
QuestionSubclassing...?? Pin
alex.barylski24-Feb-02 9:35
alex.barylski24-Feb-02 9:35 
AnswerRe: Subclassing...?? Pin
Steen Krogsgaard24-Feb-02 10:14
Steen Krogsgaard24-Feb-02 10:14 
GeneralRe: Subclassing...?? Pin
alex.barylski24-Feb-02 14:49
alex.barylski24-Feb-02 14:49 
GeneralRe: Subclassing...?? Pin
Jeremy Falcon24-Feb-02 15:26
professionalJeremy Falcon24-Feb-02 15:26 
AnswerRe: Subclassing...?? Pin
Paul M Watt24-Feb-02 15:33
mentorPaul M Watt24-Feb-02 15:33 
GeneralCreating 256-color icons Pin
Kei24-Feb-02 9:36
Kei24-Feb-02 9:36 
GeneralRe: Creating 256-color icons Pin
Paul M Watt24-Feb-02 15:20
mentorPaul M Watt24-Feb-02 15:20 
GeneralPrinting hex using std::ofstream Pin
nay24-Feb-02 9:36
nay24-Feb-02 9:36 
GeneralRe: Printing hex using std::ofstream Pin
Paul M Watt24-Feb-02 15:40
mentorPaul M Watt24-Feb-02 15:40 
GeneralCTreeCtrl and SetCheck Pin
Matt Gullett24-Feb-02 9:15
Matt Gullett24-Feb-02 9:15 
GeneralRe: CTreeCtrl and SetCheck Pin
Derek Waters24-Feb-02 11:48
Derek Waters24-Feb-02 11:48 
GeneralRe: CTreeCtrl and SetCheck Pin
Matt Gullett24-Feb-02 13:05
Matt Gullett24-Feb-02 13:05 
GeneralRe: CTreeCtrl and SetCheck Pin
Ken Goguen26-Feb-02 9:01
Ken Goguen26-Feb-02 9:01 

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.