Click here to Skip to main content
15,920,956 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Enter and Esc Pin
Alexander M.,16-Jun-05 7:01
Alexander M.,16-Jun-05 7:01 
GeneralSharing memory with MapViewOfFile Pin
metal_rob15-Jun-05 5:09
metal_rob15-Jun-05 5:09 
GeneralRe: Sharing memory with MapViewOfFile Pin
Blake Miller15-Jun-05 8:02
Blake Miller15-Jun-05 8:02 
GeneralDFT of image data using FFT Pin
Aqiruse15-Jun-05 4:52
sussAqiruse15-Jun-05 4:52 
GeneralEnhanced Metafiles Pin
bkphat15-Jun-05 4:08
bkphat15-Jun-05 4:08 
GeneralRe: Icon On Tabctrl Pin
Alexander M.,15-Jun-05 5:36
Alexander M.,15-Jun-05 5:36 
GeneralRe: Icon On Tabctrl Pin
LiYS15-Jun-05 15:24
LiYS15-Jun-05 15:24 
GeneralClosing an application. Pin
mcgahanfl15-Jun-05 3:31
mcgahanfl15-Jun-05 3:31 
I have an SDI application that is supposed to close it self when finished. To do this it sends a
m_pMainFrame->PostMessage(WM_SYSCOMMAND, SC_CLOSE);

The application appears to stop running and it gives no errors or warnings in release or debug mode. However, task manager almost always shows the application is still in memory. Is there a more forceful way to close an app.

P.S. I have also tried combinations of SW_CLOSE and SendMessage().

Thanks

GeneralRe: Closing an application. Pin
Bob Stanneveld15-Jun-05 3:48
Bob Stanneveld15-Jun-05 3:48 
GeneralRe: Closing an application. Pin
mcgahanfl16-Jun-05 3:24
mcgahanfl16-Jun-05 3:24 
GeneralRe: Closing an application. Pin
David Crow15-Jun-05 4:50
David Crow15-Jun-05 4:50 
GeneralRe: Closing an application. Pin
GKarRacer15-Jun-05 13:44
GKarRacer15-Jun-05 13:44 
GeneralRe: Closing an application. Pin
mcgahanfl16-Jun-05 3:25
mcgahanfl16-Jun-05 3:25 
GeneralRe: Closing an application. Pin
Toby Opferman15-Jun-05 14:24
Toby Opferman15-Jun-05 14:24 
GeneralRe: Closing an application. Pin
mcgahanfl16-Jun-05 3:26
mcgahanfl16-Jun-05 3:26 
GeneralBuilding question Pin
Lampros Giampouras15-Jun-05 2:49
Lampros Giampouras15-Jun-05 2:49 
GeneralRe: Building question Pin
Cedric Moonen15-Jun-05 3:24
Cedric Moonen15-Jun-05 3:24 
GeneralRe: Building question Pin
normanS15-Jun-05 3:53
normanS15-Jun-05 3:53 
GeneralRe: Building question Pin
Lampros Giampouras15-Jun-05 14:09
Lampros Giampouras15-Jun-05 14:09 
GeneralRe: Building question Pin
squidev15-Jun-05 15:46
squidev15-Jun-05 15:46 
GeneralRe: Building question Pin
Lampros Giampouras16-Jun-05 9:11
Lampros Giampouras16-Jun-05 9:11 
Generalweird errors Pin
Anonymous15-Jun-05 2:29
Anonymous15-Jun-05 2:29 
GeneralRe: weird errors Pin
Blake Miller15-Jun-05 4:44
Blake Miller15-Jun-05 4:44 
GeneralRe: weird errors Pin
David Crow15-Jun-05 5:40
David Crow15-Jun-05 5:40 
GeneralCListCtrl Class Help! Pin
mahanagarjuna15-Jun-05 2:12
mahanagarjuna15-Jun-05 2:12 

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.