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

C / C++ / MFC

 
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 
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 
I'm a complete moron when it comes to programming MDI apps, but I do understand that the purpose of MDI is to allow multiple documents to co-exist within the same instance of an application. Creating a new instance should never destroy an old one if that model is to be valid. It makes sense to me (like litle else does in MFC) that to eliminate an unwanted object you should be forced to deliberately call the destructor.

I'm not familiar with CFormDesignerDoc, but my first guess would be that the call to this function erases your previous settings in the Designer to allow you to start fresh with a new Form template.

But then, I'm a total idiot when it comes to VC++, so my comments may well be of no value. Feel free to pass this one over, Nish, if it doesn't seem relevant... We've missed you the past few days - you must be very busy...
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 
GeneralRe: get char in console prob Pin
Dominik Reichl5-Apr-02 20:50
Dominik Reichl5-Apr-02 20:50 
Generalok... (DirectX)(WTL)(MFC) Pin
SilverShalkin5-Apr-02 12:51
SilverShalkin5-Apr-02 12:51 
GeneralRe: ok... (DirectX)(WTL)(MFC) Pin
Christian Graus5-Apr-02 13:41
protectorChristian Graus5-Apr-02 13:41 

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.