Click here to Skip to main content
15,914,419 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: GlobalAlloc Pin
Alex_Y30-Jun-05 8:36
Alex_Y30-Jun-05 8:36 
GeneralRe: GlobalAlloc Pin
PJ Arends29-Jun-05 11:43
professionalPJ Arends29-Jun-05 11:43 
GeneralRe: GlobalAlloc Pin
Alex_Y30-Jun-05 8:05
Alex_Y30-Jun-05 8:05 
GeneralSDI -> Multiple Views Pin
Blake Miller29-Jun-05 6:45
Blake Miller29-Jun-05 6:45 
GeneralRe: SDI -> Multiple Views Pin
Alex_Y29-Jun-05 7:19
Alex_Y29-Jun-05 7:19 
GeneralRe: SDI -> Multiple Views Pin
Blake V. Miller29-Jun-05 18:57
Blake V. Miller29-Jun-05 18:57 
GeneralRe: SDI -> Multiple Views Pin
Alex_Y30-Jun-05 8:24
Alex_Y30-Jun-05 8:24 
GeneralMDI , Multiple views Pin
act_x29-Jun-05 6:10
act_x29-Jun-05 6:10 
My doc has three views and the views are contained within CChildFrame objects .

I want the user to use the file menu to open and close the documents but not kill the view separately . I do not want the user to kill View A using the x mark ?


What is a clean way of doing this ?


Does overriding onClose in CChildFrame by commenting out CMDIChildWnd::OnClose() work . When the framework is closing the project , I want the call to be made , but I have no knowledge of this in this class .

void CChildFrame::OnClose()
{
// TODO: Add your message handler code here and/or call default

//CMDIChildWnd::OnClose();
}

Is this safe under both conditions ? what are the alternatives ?

Engineering is the effort !

GeneralRe: MDI , Multiple views Pin
Alex_Y29-Jun-05 7:08
Alex_Y29-Jun-05 7:08 
Generaljust in time error Pin
pnpfriend29-Jun-05 5:25
pnpfriend29-Jun-05 5:25 
GeneralRe: just in time error Pin
David Crow29-Jun-05 5:26
David Crow29-Jun-05 5:26 
Generalnew user' test only Pin
rat.crown29-Jun-05 4:50
rat.crown29-Jun-05 4:50 
GeneralRe: new user' test only Pin
toxcct29-Jun-05 5:41
toxcct29-Jun-05 5:41 
GeneralRe: new user' test only Pin
Nathan Addy29-Jun-05 9:31
Nathan Addy29-Jun-05 9:31 
GeneralRe: new user' test only Pin
P-Rex29-Jun-05 21:20
P-Rex29-Jun-05 21:20 
GeneralWindows File Manipulation Pin
DigiFaith29-Jun-05 4:41
DigiFaith29-Jun-05 4:41 
GeneralRe: Windows File Manipulation Pin
Ravi Bhavnani29-Jun-05 5:11
professionalRavi Bhavnani29-Jun-05 5:11 
GeneralRe: Windows File Manipulation Pin
David Crow29-Jun-05 5:25
David Crow29-Jun-05 5:25 
GeneralRe: Windows File Manipulation Pin
Ravi Bhavnani29-Jun-05 5:54
professionalRavi Bhavnani29-Jun-05 5:54 
GeneralRe: Windows File Manipulation Pin
Jose Lamas Rios29-Jun-05 5:12
Jose Lamas Rios29-Jun-05 5:12 
GeneralRe: Windows File Manipulation Pin
DigiFaith29-Jun-05 6:22
DigiFaith29-Jun-05 6:22 
GeneralRe: Windows File Manipulation Pin
Jose Lamas Rios29-Jun-05 6:47
Jose Lamas Rios29-Jun-05 6:47 
Generalhelp with some date/time input pls Pin
neodeaths29-Jun-05 4:07
neodeaths29-Jun-05 4:07 
GeneralRe: help with some date/time input pls Pin
David Crow29-Jun-05 4:29
David Crow29-Jun-05 4:29 
GeneralRe: help with some date/time input pls Pin
neodeaths29-Jun-05 4:49
neodeaths29-Jun-05 4:49 

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.