Click here to Skip to main content
15,914,452 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: .How to connect VC++ with C51 programs Pin
toxcct5-Dec-05 3:52
toxcct5-Dec-05 3:52 
GeneralRe: .How to connect VC++ with C51 programs Pin
khan++5-Dec-05 4:05
khan++5-Dec-05 4:05 
AnswerRe: .How to connect VC++ with C51 programs Pin
normanS5-Dec-05 18:27
normanS5-Dec-05 18:27 
Questionng you.How to connect VC++ with C51 programs Pin
sheshidar5-Dec-05 3:25
sheshidar5-Dec-05 3:25 
AnswerRe: ng you.How to connect VC++ with C51 programs Pin
khan++5-Dec-05 3:39
khan++5-Dec-05 3:39 
GeneralRe: ng you.How to connect VC++ with C51 programs Pin
sheshidar23-Dec-05 3:19
sheshidar23-Dec-05 3:19 
GeneralRe: ng you.How to connect VC++ with C51 programs Pin
khan++23-Dec-05 3:51
khan++23-Dec-05 3:51 
QuestionMFC doc/view printing: printing a different document Pin
-Dy5-Dec-05 2:30
-Dy5-Dec-05 2:30 
Hi folks,

I've got a need to re-route printing based on a given condition. Basically, when the user selects file | print in my MDI doc/view, I need to open a different doc (of the same type) and print that instead. So far, I've been opening the other document in view::DoPreparePrinting (after the call to the base class, so the user can select their desired printer), calling newView->OnBeginPrinting, newView->OnPrint & newView->OnEndPrinting manually and then closing the document. This prints the original view though.

Anyone had to do this before? Could you point me in the right direction? It would be great if I could get print preview to preview the other document too.


-Dy
AnswerRe: MFC doc/view printing: printing a different document Pin
Cool Ju5-Dec-05 21:59
Cool Ju5-Dec-05 21:59 
AnswerRe: MFC doc/view printing: printing a different document (solution) Pin
-Dy5-Dec-05 22:44
-Dy5-Dec-05 22:44 
Question[Message Deleted] Pin
newbie53455-Dec-05 1:13
newbie53455-Dec-05 1:13 
AnswerRe: error PRJ0019: A tool returned an error code from "Performing Post-Build Event..." Pin
2249175-Dec-05 1:22
2249175-Dec-05 1:22 
GeneralRe: error PRJ0019: A tool returned an error code from "Performing Post-Build Event..." Pin
newbie53455-Dec-05 1:54
newbie53455-Dec-05 1:54 
AnswerRe: error PRJ0019: A tool returned an error code from "Performing Post-Build Event..." Pin
Cool Ju5-Dec-05 1:46
Cool Ju5-Dec-05 1:46 
GeneralRe: error PRJ0019: A tool returned an error code from "Performing Post-Build Event..." Pin
newbie53455-Dec-05 1:55
newbie53455-Dec-05 1:55 
AnswerRe: [Message Deleted] Pin
Cedric Moonen5-Dec-05 2:05
Cedric Moonen5-Dec-05 2:05 
GeneralRe: [Message Deleted] Pin
ThatsAlok5-Dec-05 21:20
ThatsAlok5-Dec-05 21:20 
GeneralRe: [Message Deleted] Pin
Cedric Moonen5-Dec-05 21:25
Cedric Moonen5-Dec-05 21:25 
GeneralRe: [Message Deleted] Pin
ThatsAlok5-Dec-05 22:26
ThatsAlok5-Dec-05 22:26 
QuestionCatching messages in a subclass of CFileDialog Pin
mrKlister5-Dec-05 1:05
mrKlister5-Dec-05 1:05 
AnswerRe: Catching messages in a subclass of CFileDialog Pin
Sheng Jiang 蒋晟5-Dec-05 7:36
Sheng Jiang 蒋晟5-Dec-05 7:36 
GeneralRe: Catching messages in a subclass of CFileDialog Pin
mrKlister6-Dec-05 23:19
mrKlister6-Dec-05 23:19 
QuestionHow to determine a folder is empty Pin
emmatty4-Dec-05 23:50
emmatty4-Dec-05 23:50 
AnswerRe: How to determine a folder is empty Pin
ThatsAlok5-Dec-05 0:38
ThatsAlok5-Dec-05 0:38 
AnswerRe: How to determine a folder is empty Pin
vikas amin5-Dec-05 3:18
vikas amin5-Dec-05 3:18 

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.