Click here to Skip to main content
15,900,110 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generaltrying to shut down windows Pin
king_of_the_world8-Feb-03 15:53
king_of_the_world8-Feb-03 15:53 
GeneralRe: trying to shut down windows Pin
Abbas_Riazi8-Feb-03 17:39
professionalAbbas_Riazi8-Feb-03 17:39 
GeneralRe: trying to shut down windows Pin
king_of_the_world8-Feb-03 17:51
king_of_the_world8-Feb-03 17:51 
GeneralRe: trying to shut down windows Pin
Abbas_Riazi9-Feb-03 5:38
professionalAbbas_Riazi9-Feb-03 5:38 
QuestionHow do i use the overload operator= in a CObject? Pin
Anonymous8-Feb-03 15:49
Anonymous8-Feb-03 15:49 
AnswerRe: How do i use the overload operator= in a CObject? Pin
includeh109-Feb-03 2:39
includeh109-Feb-03 2:39 
GeneralMultiple document templates Pin
Perseus8-Feb-03 14:55
Perseus8-Feb-03 14:55 
GeneralRe: Multiple document templates Pin
Roger Allen10-Feb-03 6:40
Roger Allen10-Feb-03 6:40 
What you are asking about should happen automatically when you have multiple document templates. When you click ID_FILE_NEW, command processing should get mapped through by the application framework to the void CDocManager::OnFileNew() function declared in DOCMGR.CPP in the MFC. If you look at the function code, you will see that by default if there are 2 or more doc templates a selection dialog box will be displayed.

The function is virtual so if you have your own implementation of this function already then you may have altered this behaviour.


Roger Allen
Sonork 100.10016

WHats brown and sticky?
A stick or some smelly stuff!

GeneralRe: Multiple document templates Pin
Perseus11-Feb-03 12:48
Perseus11-Feb-03 12:48 
GeneralSave File Dialog Creation Pin
orcblood8-Feb-03 14:01
orcblood8-Feb-03 14:01 
GeneralRe: Save File Dialog Creation Pin
Michael Dunn8-Feb-03 14:39
sitebuilderMichael Dunn8-Feb-03 14:39 
GeneralRe: Save File Dialog Creation Pin
orcblood9-Feb-03 7:01
orcblood9-Feb-03 7:01 
QuestionHow to get Key name from Vitrual-Key code? Pin
Aidman8-Feb-03 13:40
Aidman8-Feb-03 13:40 
AnswerRe: How to get Key name from Vitrual-Key code? Pin
KaЯl9-Feb-03 21:40
KaЯl9-Feb-03 21:40 
GeneralRe: How to get Key name from Vitrual-Key code? Pin
Aidman10-Feb-03 10:23
Aidman10-Feb-03 10:23 
GeneralRe: How to get Key name from Vitrual-Key code? Pin
KaЯl11-Feb-03 4:53
KaЯl11-Feb-03 4:53 
GeneralRe: How to get Key name from Vitrual-Key code? Pin
Aidman11-Feb-03 8:50
Aidman11-Feb-03 8:50 
GeneralRe: How to get Key name from Vitrual-Key code? Pin
KaЯl11-Feb-03 21:39
KaЯl11-Feb-03 21:39 
GeneralRe: How to get Key name from Vitrual-Key code? Pin
Aidman12-Feb-03 5:26
Aidman12-Feb-03 5:26 
GeneralRe: How to get Key name from Vitrual-Key code? Pin
KaЯl12-Feb-03 5:32
KaЯl12-Feb-03 5:32 
GeneralWM_NCHITTEST in Dialog Box Pin
Silmeron8-Feb-03 12:48
Silmeron8-Feb-03 12:48 
GeneralRe: WM_NCHITTEST in Dialog Box Pin
Nish Nishant8-Feb-03 13:29
sitebuilderNish Nishant8-Feb-03 13:29 
GeneralRe: WM_NCHITTEST in Dialog Box Pin
Silmeron8-Feb-03 16:04
Silmeron8-Feb-03 16:04 
GeneralError displaying CFrameWnd Pin
raner8-Feb-03 8:00
raner8-Feb-03 8:00 
GeneralRe: Error displaying CFrameWnd Pin
User 98858-Feb-03 8:52
User 98858-Feb-03 8:52 

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.