Click here to Skip to main content
15,891,718 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problems in Enumerating network Pin
David Crow27-May-04 2:31
David Crow27-May-04 2:31 
GeneralRe: Problems in Enumerating network Pin
abdul moeed27-May-04 19:08
abdul moeed27-May-04 19:08 
General1 function multiple buttons Pin
V.25-May-04 21:01
professionalV.25-May-04 21:01 
GeneralRe: 1 function multiple buttons Pin
Johan Rosengren25-May-04 21:32
Johan Rosengren25-May-04 21:32 
GeneralSetting plain text in Outlook Pin
ptrbr25-May-04 20:52
ptrbr25-May-04 20:52 
Questionhow to override the Close or X button of a FormView Pin
elephantstar25-May-04 19:58
elephantstar25-May-04 19:58 
AnswerRe: how to override the Close or X button of a FormView Pin
*Dreamz25-May-04 20:33
*Dreamz25-May-04 20:33 
GeneralRe: how to override the Close or X button of a FormView Pin
elephantstar26-May-04 6:14
elephantstar26-May-04 6:14 
I have several forms in the application that I would like to save to memory before writing all to disk. So the SetModifiedFlag() may not work in my case. There are two things that I would like to do. (1) When the user clicks on the Windows Close(X) button, what function do I need to override in order to do my custom save. Does a message call using WM_SYSCOMMAND with SC_CLOSE just closes the window? Depending on what function I override, it should be the same function I would use to call within my OnCancel() function when the user clicks on the Cancel button right? I am little confused on where and how the WM_SYSCOMMAND is used and if that is what I need.

Thanks!
GeneralRe: how to override the Close or X button of a FormView Pin
*Dreamz26-May-04 17:44
*Dreamz26-May-04 17:44 
GeneralRe: how to override the Close or X button of a FormView Pin
elephantstar3-Jun-04 8:24
elephantstar3-Jun-04 8:24 
GeneralRe: how to override the Close or X button of a FormView Pin
*Dreamz3-Jun-04 17:38
*Dreamz3-Jun-04 17:38 
GeneralRPC Pin
Member 115017625-May-04 19:30
Member 115017625-May-04 19:30 
GeneralRe: RPC Pin
David Crow26-May-04 3:18
David Crow26-May-04 3:18 
Generalfirst message Pin
mf1425-May-04 19:18
mf1425-May-04 19:18 
GeneralRe: first message Pin
Roger Allen26-May-04 2:33
Roger Allen26-May-04 2:33 
Questionhow to search through an external file Pin
foxele25-May-04 19:04
foxele25-May-04 19:04 
AnswerRe: how to search through an external file Pin
Curi0us_George25-May-04 19:14
Curi0us_George25-May-04 19:14 
QuestionHow Long Will It Take Pin
---Mark---25-May-04 19:04
---Mark---25-May-04 19:04 
AnswerRe: How Long Will It Take Pin
Curi0us_George25-May-04 19:20
Curi0us_George25-May-04 19:20 
AnswerRe: How Long Will It Take Pin
Bob Stanneveld25-May-04 21:01
Bob Stanneveld25-May-04 21:01 
AnswerRe: How Long Will It Take Pin
David Crow26-May-04 3:21
David Crow26-May-04 3:21 
GeneralRe: How Long Will It Take Pin
Antony M Kancidrowski26-May-04 4:01
Antony M Kancidrowski26-May-04 4:01 
GeneralFile Description Pin
ptilokch25-May-04 18:53
ptilokch25-May-04 18:53 
GeneralRe: File Description Pin
Michael Dunn25-May-04 19:16
sitebuilderMichael Dunn25-May-04 19:16 
GeneralTrying to get Target Folder from Folder Shortcut Pin
Mike203625-May-04 18:46
Mike203625-May-04 18:46 

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.