Click here to Skip to main content
15,925,400 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Is this Possible??? Pin
Michael Dunn5-Apr-02 20:40
sitebuilderMichael Dunn5-Apr-02 20:40 
GeneralRe: Is this Possible??? Pin
blen6-Apr-02 0:57
blen6-Apr-02 0:57 
GeneralQuestion about OnNewDocument() Pin
Nish Nishant5-Apr-02 18:48
sitebuilderNish Nishant5-Apr-02 18:48 
GeneralRe: Question about OnNewDocument() Pin
Mazdak5-Apr-02 18:52
Mazdak5-Apr-02 18:52 
GeneralRe: Question about OnNewDocument() Pin
Nish Nishant5-Apr-02 19:03
sitebuilderNish Nishant5-Apr-02 19:03 
GeneralRe: Question about OnNewDocument() Pin
Mazdak5-Apr-02 19:07
Mazdak5-Apr-02 19:07 
GeneralRe: Question about OnNewDocument() Pin
Nish Nishant5-Apr-02 19:27
sitebuilderNish Nishant5-Apr-02 19:27 
GeneralRe: Question about OnNewDocument() Pin
Andrew Peace6-Apr-02 9:49
Andrew Peace6-Apr-02 9:49 
If you're using an SDI app;

- the destructor gets called when the app closes
- the constructor gets called when the app opens
- OnNewDocuemnts gets called when a new document is created

MDI:

- destructor called when document closed
- constructor called when document created or opened
- OnNewDocument called when a new document is created.

That's the basic outline, hope it's helpful. Sorry if repost but couldn't be bothered to click Next on the msg board Roll eyes | :rolleyes: .

--
Andrew.
GeneralRe: Question about OnNewDocument() - The plot thickens!!! Pin
Nish Nishant5-Apr-02 18:59
sitebuilderNish Nishant5-Apr-02 18:59 
GeneralRe: Question about OnNewDocument() - The plot thickens!!! - some light at last!!! Pin
Nish Nishant5-Apr-02 19:01
sitebuilderNish Nishant5-Apr-02 19:01 
GeneralRe: Question about OnNewDocument() - The plot thickens!!! - some light at last!!! Pin
Roger Wright5-Apr-02 19:27
professionalRoger Wright5-Apr-02 19:27 
GeneralRe: Question about OnNewDocument() - The plot thickens!!! - some light at last!!! Pin
Nish Nishant5-Apr-02 19:32
sitebuilderNish Nishant5-Apr-02 19:32 
GeneralRe: Question about OnNewDocument() - The plot thickens!!! - some light at last!!! Pin
Roger Wright5-Apr-02 20:08
professionalRoger Wright5-Apr-02 20:08 
GeneralRe: Question about OnNewDocument() Pin
Michael P Butler5-Apr-02 22:59
Michael P Butler5-Apr-02 22:59 
GeneralRe: Question about OnNewDocument() Pin
Nish Nishant5-Apr-02 23:37
sitebuilderNish Nishant5-Apr-02 23:37 
GeneralRe: Question about OnNewDocument() Pin
Michael P Butler5-Apr-02 23:39
Michael P Butler5-Apr-02 23:39 
GeneralRe: Question about OnNewDocument() Pin
Nish Nishant6-Apr-02 0:03
sitebuilderNish Nishant6-Apr-02 0:03 
GeneralRe: Question about OnNewDocument() Pin
Mazdak6-Apr-02 4:39
Mazdak6-Apr-02 4:39 
GeneralObject Browser Pin
Mangesh Sardesai5-Apr-02 16:59
Mangesh Sardesai5-Apr-02 16:59 
GeneralEmbedded buttons in CListCtrl Pin
5-Apr-02 14:34
suss5-Apr-02 14:34 
GeneralRe: Embedded buttons in CListCtrl Pin
Michael Dunn5-Apr-02 16:23
sitebuilderMichael Dunn5-Apr-02 16:23 
GeneralMFC bitmaps problem Pin
ejw5-Apr-02 13:43
ejw5-Apr-02 13:43 
GeneralRe: MFC bitmaps problem Pin
Christian Graus5-Apr-02 14:25
protectorChristian Graus5-Apr-02 14:25 
GeneralThank you so much! Pin
ejw5-Apr-02 14:43
ejw5-Apr-02 14:43 
Generalget char in console prob Pin
EvilSource5-Apr-02 12:53
EvilSource5-Apr-02 12:53 

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.