Click here to Skip to main content
15,915,600 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Very strange behavior trying to exit. Please help! Pin
Joaquín M López Muñoz6-Sep-02 6:25
Joaquín M López Muñoz6-Sep-02 6:25 
GeneralRe: Very strange behavior trying to exit. Please help! Pin
ns6-Sep-02 7:31
ns6-Sep-02 7:31 
GeneralRe: Very strange behavior trying to exit. Please help! Pin
ns6-Sep-02 7:39
ns6-Sep-02 7:39 
GeneralRe: Very strange behavior trying to exit. Please help! Pin
[James Pullicino]6-Sep-02 7:51
[James Pullicino]6-Sep-02 7:51 
GeneralRe: Very strange behavior trying to exit. Please help! Pin
ns6-Sep-02 7:58
ns6-Sep-02 7:58 
GeneralRe: Very strange behavior trying to exit. Please help! Pin
[James Pullicino]6-Sep-02 8:11
[James Pullicino]6-Sep-02 8:11 
GeneralRe: Very strange behavior trying to exit. Please help! Pin
ns6-Sep-02 8:17
ns6-Sep-02 8:17 
GeneralRe: Very strange behavior trying to exit. Please help! Pin
Joaquín M López Muñoz6-Sep-02 7:59
Joaquín M López Muñoz6-Sep-02 7:59 
Ummm... These are just guesses:
  1. Try with AfxGetApp()->m_pMainWnd()->PostMessage(WM_CLOSE), although I don't think it will work any better.
  2. What are you doing within OnDestroy? Something sensible with your document? Try moving the code to OnClose.
  3. Is the quit message posted from a thread other than the main thread?


Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
GeneralRe: Very strange behavior trying to exit. Please help! Pin
ns6-Sep-02 8:01
ns6-Sep-02 8:01 
GeneralRe: Very strange behavior trying to exit. Please help! Pin
Joaquín M López Muñoz6-Sep-02 8:09
Joaquín M López Muñoz6-Sep-02 8:09 
GeneralRe: Very strange behavior trying to exit. Please help! Pin
ns6-Sep-02 8:11
ns6-Sep-02 8:11 
GeneralRe: Very strange behavior trying to exit. Please help! Pin
Joaquín M López Muñoz6-Sep-02 8:18
Joaquín M López Muñoz6-Sep-02 8:18 
GeneralRe: Very strange behavior trying to exit. Please help! Pin
ns6-Sep-02 8:21
ns6-Sep-02 8:21 
GeneralRe: Very strange behavior trying to exit. Please help! Pin
Joaquín M López Muñoz6-Sep-02 8:28
Joaquín M López Muñoz6-Sep-02 8:28 
GeneralRe: Very strange behavior trying to exit. Please help! Pin
ns6-Sep-02 8:30
ns6-Sep-02 8:30 
GeneralRe: Very strange behavior trying to exit. Please help! Pin
ns6-Sep-02 8:34
ns6-Sep-02 8:34 
GeneralRe: Very strange behavior trying to exit. Please help! Pin
Joaquín M López Muñoz6-Sep-02 8:37
Joaquín M López Muñoz6-Sep-02 8:37 
GeneralRe: Very strange behavior trying to exit. Please help! Pin
ns6-Sep-02 8:43
ns6-Sep-02 8:43 
GeneralRe: Very strange behavior trying to exit. Please help! Pin
Joaquín M López Muñoz6-Sep-02 8:47
Joaquín M López Muñoz6-Sep-02 8:47 
GeneralRe: Very strange behavior trying to exit. Please help! Pin
ns6-Sep-02 8:49
ns6-Sep-02 8:49 
GeneralRe: Very strange behavior trying to exit. Please help! Pin
Joaquín M López Muñoz6-Sep-02 8:55
Joaquín M López Muñoz6-Sep-02 8:55 
GeneralA million thanks! I needed to return; Pin
ns6-Sep-02 10:14
ns6-Sep-02 10:14 
GeneralRe: Very strange behavior trying to exit. Please help! Pin
ns6-Sep-02 8:53
ns6-Sep-02 8:53 
GeneralRe: Very strange behavior trying to exit. Please help! Pin
[James Pullicino]6-Sep-02 9:14
[James Pullicino]6-Sep-02 9:14 
GeneralRe: Very strange behavior trying to exit. Please help! Pin
Joaquín M López Muñoz6-Sep-02 9:00
Joaquín M López Muñoz6-Sep-02 9:00 

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.