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

C / C++ / MFC

 
GeneralRe: Processing the 'X' button in a SDI Pin
Mark Salsbery22-Oct-06 8:56
Mark Salsbery22-Oct-06 8:56 
GeneralRe: Processing the 'X' button in a SDI Pin
Tara1422-Oct-06 12:59
Tara1422-Oct-06 12:59 
GeneralRe: Processing the 'X' button in a SDI Pin
Mark Salsbery22-Oct-06 16:03
Mark Salsbery22-Oct-06 16:03 
GeneralRe: Processing the 'X' button in a SDI Pin
Tara1423-Oct-06 3:18
Tara1423-Oct-06 3:18 
GeneralRe: Processing the 'X' button in a SDI Pin
Mark Salsbery23-Oct-06 6:02
Mark Salsbery23-Oct-06 6:02 
GeneralRe: Processing the 'X' button in a SDI Pin
Mark Salsbery23-Oct-06 6:07
Mark Salsbery23-Oct-06 6:07 
GeneralRe: Processing the 'X' button in a SDI Pin
Tara1423-Oct-06 6:18
Tara1423-Oct-06 6:18 
QuestionRe: Processing the 'X' button in a SDI Pin
David Crow23-Oct-06 4:21
David Crow23-Oct-06 4:21 
Tara14 wrote:
I have created a SDI with CFormView as the view (VC++6). I would like to add some code to do something when the 'X' button of the document is pressed.


What's wrong with the app's ExitInstance() method?

You could also handle it in the frame's DestroyWindow() method.




"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

"Judge not by the eye but by the heart." - Native American Proverb


AnswerRe: Processing the 'X' button in a SDI Pin
Tara1423-Oct-06 4:32
Tara1423-Oct-06 4:32 
QuestionHow to change tab item's height?selected and unselected. Pin
314159265321-Oct-06 23:20
314159265321-Oct-06 23:20 
QuestionDNS Pin
picasso221-Oct-06 18:28
picasso221-Oct-06 18:28 
QuestionRe: DNS Pin
David Crow23-Oct-06 4:24
David Crow23-Oct-06 4:24 
AnswerRe: DNS Pin
Mark Salsbery23-Oct-06 6:24
Mark Salsbery23-Oct-06 6:24 
Questionstill CDib 2 Pin
gentleguy21-Oct-06 17:35
gentleguy21-Oct-06 17:35 
AnswerRe: still CDib 2 Pin
S Douglas21-Oct-06 21:00
professionalS Douglas21-Oct-06 21:00 
AnswerRe: still CDib 2 Pin
Hamid_RT22-Oct-06 1:40
Hamid_RT22-Oct-06 1:40 
Questionc++ network library Pin
oldbam21-Oct-06 12:08
oldbam21-Oct-06 12:08 
AnswerRe: c++ network library Pin
El Corazon21-Oct-06 12:20
El Corazon21-Oct-06 12:20 
AnswerRe: c++ network library Pin
evilsocket21-Oct-06 12:20
evilsocket21-Oct-06 12:20 
AnswerRe: c++ network library Pin
Sceptic Mole21-Oct-06 23:53
Sceptic Mole21-Oct-06 23:53 
QuestionDetecting Local IP Address Pin
wasife21-Oct-06 8:41
wasife21-Oct-06 8:41 
AnswerRe: Detecting Local IP Address Pin
evilsocket21-Oct-06 12:18
evilsocket21-Oct-06 12:18 
AnswerRe: Detecting Local IP Address Pin
mahw pgm21-Oct-06 12:24
mahw pgm21-Oct-06 12:24 
AnswerRe: Detecting Local IP Address Pin
Mark Salsbery21-Oct-06 15:07
Mark Salsbery21-Oct-06 15:07 
Questionproblem of offsetof with c compiler Pin
EzraYap21-Oct-06 7:44
EzraYap21-Oct-06 7:44 

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.