Click here to Skip to main content
16,011,585 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: unique timer id Pin
7-Mar-02 23:52
suss7-Mar-02 23:52 
GeneralRe: unique timer id Pin
8-Mar-02 4:57
suss8-Mar-02 4:57 
GeneralRe: unique timer id Pin
MaxiGroovy8-Mar-02 4:58
MaxiGroovy8-Mar-02 4:58 
GeneralRe: unique timer id Pin
8-Mar-02 5:09
suss8-Mar-02 5:09 
QuestionClosing Document assertion? Pin
Richard Everingham6-Mar-02 19:11
Richard Everingham6-Mar-02 19:11 
AnswerRe: Closing Document assertion? - partial answer Pin
Serge Krynine6-Mar-02 19:39
Serge Krynine6-Mar-02 19:39 
AnswerRe: Closing Document assertion? Pin
Michael Dunn6-Mar-02 19:50
sitebuilderMichael Dunn6-Mar-02 19:50 
AnswerRe: Closing Document assertion? Pin
Serge Krynine6-Mar-02 20:03
Serge Krynine6-Mar-02 20:03 
Do not use CloseAllDocuments. This is why:

CDocTemplate::CloseAllDocuments
virtual void CloseAllDocuments( BOOL bEndSession );

Parameters

bEndSession

Specifies whether or not the session is being ended. It is TRUE if the session is being ended; otherwise FALSE.

Remarks

Call this member function to close all open documents. This member function is typically used as part of the File Exit command. The default implementation of this function calls the CDocument::DeleteContents member function to delete the document's data and then closes the frame windows for all the views attached to the document.

Override this function if you want to require the user to perform special cleanup processing before the document is closed. For example, if the document represents a record in a database, you may want to override this function to close the database.


GeneralRe: Closing Document assertion? Pin
Richard Everingham6-Mar-02 20:25
Richard Everingham6-Mar-02 20:25 
AnswerRe: Closing Document assertion? Pin
Roger Allen7-Mar-02 5:04
Roger Allen7-Mar-02 5:04 
QuestionHow to open recordset using command object Pin
6-Mar-02 18:12
suss6-Mar-02 18:12 
AnswerRe: How to open recordset using command object Pin
Mazdak6-Mar-02 19:26
Mazdak6-Mar-02 19:26 
General(read) rand() function. Pin
SilverShalkin6-Mar-02 16:05
SilverShalkin6-Mar-02 16:05 
GeneralRe: (read) rand() function. Pin
Serge Krynine6-Mar-02 16:36
Serge Krynine6-Mar-02 16:36 
GeneralRe: (read) rand() function. Pin
SilverShalkin6-Mar-02 17:05
SilverShalkin6-Mar-02 17:05 
GeneralRe: (read) rand() function. Pin
Nish Nishant6-Mar-02 17:22
sitebuilderNish Nishant6-Mar-02 17:22 
GeneralRe: (read) rand() function. Pin
Serge Krynine6-Mar-02 17:25
Serge Krynine6-Mar-02 17:25 
GeneralRe: (read) rand() function. Pin
Christian Graus6-Mar-02 21:33
protectorChristian Graus6-Mar-02 21:33 
GeneralRe: (read) rand() function. Pin
SilverShalkin7-Mar-02 3:01
SilverShalkin7-Mar-02 3:01 
GeneralRe: (read) rand() function. Pin
Christian Graus7-Mar-02 9:29
protectorChristian Graus7-Mar-02 9:29 
Generala question about using tree control in atl Pin
realfly6-Mar-02 14:24
realfly6-Mar-02 14:24 
GeneralRe: a question about using tree control in atl Pin
Paul M Watt6-Mar-02 18:53
mentorPaul M Watt6-Mar-02 18:53 
GeneralRe: a question about using tree control in atl Pin
realfly6-Mar-02 19:21
realfly6-Mar-02 19:21 
GeneralAutoComplete Members from Dll Pin
MarkPQ6-Mar-02 13:09
MarkPQ6-Mar-02 13:09 
GeneralRe: AutoComplete Members from Dll Pin
Michael P Butler7-Mar-02 0:33
Michael P Butler7-Mar-02 0:33 

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.