Click here to Skip to main content
15,907,233 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: using accelerator in a dialog based project Pin
Tim Smith8-May-02 10:35
Tim Smith8-May-02 10:35 
GeneralRe: using accelerator in a dialog based project Pin
Nish Nishant8-May-02 10:40
sitebuilderNish Nishant8-May-02 10:40 
GeneralIJW Question Pin
Nick Parker8-May-02 9:11
protectorNick Parker8-May-02 9:11 
GeneralRe: IJW Question Pin
Nish Nishant8-May-02 9:28
sitebuilderNish Nishant8-May-02 9:28 
GeneralRe: IJW Question Pin
Nick Parker8-May-02 9:31
protectorNick Parker8-May-02 9:31 
GeneralRe: IJW Question Pin
Rama Krishna Vavilala8-May-02 9:40
Rama Krishna Vavilala8-May-02 9:40 
GeneralPrint Preview & Printing Pin
Mash8-May-02 8:51
Mash8-May-02 8:51 
GeneralRe: Print Preview & Printing Pin
Roger Allen9-May-02 2:27
Roger Allen9-May-02 2:27 
As your dialogs are needed for printing, create a class that inherits from CDialog and add the virtual functions

OnPrepArePrinting()
OnBeginPrinting()
OnEndPrinting()
OnPrint()


to it. These can then be overriden in the dialogs actual classes. Now your view will need to farm the calls it gets to these functions out to all the dialogs that it is displaying through the tab control. As long as each dialog knows how many pages it needs to print, everyhing should work OK.


Roger Allen
Sonork 100.10016

If I had a quote, it would be a very good one.
GeneralUsing CMenu in a CDialog Pin
8-May-02 7:52
suss8-May-02 7:52 
GeneralRe: Using CMenu in a CDialog Pin
Prem Kumar8-May-02 8:06
Prem Kumar8-May-02 8:06 
GeneralChanging Win32 Object's Font Pin
S van Leent8-May-02 6:05
S van Leent8-May-02 6:05 
GeneralRe: Changing Win32 Object's Font Pin
Roger Allen8-May-02 6:49
Roger Allen8-May-02 6:49 
GeneralRe: Changing Win32 Object's Font Pin
S van Leent8-May-02 8:22
S van Leent8-May-02 8:22 
GeneralRe: Changing Win32 Object's Font Pin
Jeremy Falcon8-May-02 16:13
professionalJeremy Falcon8-May-02 16:13 
GeneralRe: Changing Win32 Object's Font Pin
Jeremy Falcon8-May-02 7:26
professionalJeremy Falcon8-May-02 7:26 
Generaldialog app won't show new changes Pin
jimNLX8-May-02 5:49
jimNLX8-May-02 5:49 
GeneralRe: dialog app won't show new changes Pin
Brian Delahunty8-May-02 6:07
Brian Delahunty8-May-02 6:07 
GeneralRe: dialog app won't show new changes Pin
jimNLX8-May-02 6:11
jimNLX8-May-02 6:11 
GeneralRe: dialog app won't show new changes Pin
Matt Newman8-May-02 15:09
Matt Newman8-May-02 15:09 
GeneralRe: dialog app won't show new changes Pin
Jeremy Falcon8-May-02 16:09
professionalJeremy Falcon8-May-02 16:09 
GeneralRe: dialog app won't show new changes Pin
Matt Newman8-May-02 16:13
Matt Newman8-May-02 16:13 
Generalproblem with ctreectrl Pin
8-May-02 5:21
suss8-May-02 5:21 
GeneralRe: problem with ctreectrl Pin
James R. Twine8-May-02 9:35
James R. Twine8-May-02 9:35 
QuestionDistributing MDAC using Installer 2.0? Pin
paulccc8-May-02 5:19
paulccc8-May-02 5:19 
GeneralCharles petzold's 5th edition is no book for advanced ones Pin
8-May-02 5:06
suss8-May-02 5:06 

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.