Click here to Skip to main content
15,881,380 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: listbox question Pin
Mazdak25-Sep-02 23:50
Mazdak25-Sep-02 23:50 
GeneralCString Unicode Problem! Pin
Daniel Strigl25-Sep-02 20:49
Daniel Strigl25-Sep-02 20:49 
GeneralRe: CString Unicode Problem! Pin
567890123425-Sep-02 20:54
567890123425-Sep-02 20:54 
GeneralRe: CString Unicode Problem! Pin
Daniel Strigl25-Sep-02 21:08
Daniel Strigl25-Sep-02 21:08 
GeneralRecent File List help Pin
Chou25-Sep-02 19:18
Chou25-Sep-02 19:18 
GeneralRe: Recent File List help Pin
Steve S25-Sep-02 22:04
Steve S25-Sep-02 22:04 
GeneralRe: Recent File List help Pin
Chou25-Sep-02 22:43
Chou25-Sep-02 22:43 
GeneralRe: Recent File List help Pin
Steve S25-Sep-02 23:00
Steve S25-Sep-02 23:00 
Generally in situations like this, I use the "Star Wars" approach.

Use the source, Luke.;)

Without looking, I'd guess that the CWinApp version trawls through the registered document templates, and asks each of them to do it. So what you'd probably want to do is create an overridden version in a CxxxxDocTemplate derived class, that instead of activating the window, closes then reloads the document. Of course, you don't want to do that if it's an SDI app.

Steve S
[This signature space available for rent]
GeneralRe: Recent File List help Pin
Chou25-Sep-02 23:35
Chou25-Sep-02 23:35 
GeneralRe: Recent File List help Pin
Steve S25-Sep-02 23:37
Steve S25-Sep-02 23:37 
GeneralDialog in a DLL Pin
DarrollWalsh25-Sep-02 18:30
DarrollWalsh25-Sep-02 18:30 
GeneralRe: Dialog in a DLL Pin
RedZenBird25-Sep-02 18:59
RedZenBird25-Sep-02 18:59 
GeneralRe: Dialog in a DLL Pin
DarrollWalsh25-Sep-02 20:10
DarrollWalsh25-Sep-02 20:10 
GeneralFile properties Pin
Bugra Barin25-Sep-02 18:10
Bugra Barin25-Sep-02 18:10 
GeneralRe: File properties Pin
RedZenBird25-Sep-02 19:08
RedZenBird25-Sep-02 19:08 
GeneralRe: File properties Pin
Bugra Barin25-Sep-02 20:37
Bugra Barin25-Sep-02 20:37 
GeneralRe: File properties Pin
Steve S25-Sep-02 22:01
Steve S25-Sep-02 22:01 
GeneralRe: File properties Pin
Jawache25-Sep-02 23:08
Jawache25-Sep-02 23:08 
QuestionWhere Can I get C/C++ API docs? Pin
shi25-Sep-02 17:49
shi25-Sep-02 17:49 
AnswerRe: Where Can I get C/C++ API docs? Pin
Christian Graus25-Sep-02 17:59
protectorChristian Graus25-Sep-02 17:59 
GeneralRe: Where Can I get C/C++ API docs? Pin
shi25-Sep-02 18:13
shi25-Sep-02 18:13 
GeneralRe: Where Can I get C/C++ API docs? Pin
Michael P Butler25-Sep-02 22:28
Michael P Butler25-Sep-02 22:28 
GeneralRe: Where Can I get C/C++ API docs? Pin
Christian Graus26-Sep-02 0:36
protectorChristian Graus26-Sep-02 0:36 
Generalprograming problems Pin
Mr. Gates25-Sep-02 17:14
Mr. Gates25-Sep-02 17:14 
GeneralRe: programing problems Pin
Christian Graus25-Sep-02 17:25
protectorChristian Graus25-Sep-02 17:25 

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.