What is the command routing in MFC framework?

Answers were Sorted based on User's Feedback



What is the command routing in MFC framework?..

Answer / jianhua wang

For SDI application:
CView->CDocument->CFrameWnd->CWinApp;

For MDI application:
CView->CDocument->CMDIChildWnd->CMDIFrameWnd->CWinApp;

Is This Answer Correct ?    17 Yes 4 No

What is the command routing in MFC framework?..

Answer / krish

In SDI Application

CFRAMEWND=>CVIEW=>CDOCUMENT=>CWINAPP


In MDI Application

CFRAMEWND=>CMDICHILDWND=>CVIEW=>CDOCUMENT=>CWINAPP

Is This Answer Correct ?    5 Yes 0 No

What is the command routing in MFC framework?..

Answer / bipin t thomas

CView=>CDocument=>CFrameWnd=>CWinApp

Is This Answer Correct ?    10 Yes 6 No

Post New Answer

More MFC Interview Questions

What MFC base classes provide support for ActiveX controls?

2 Answers   Wipro,


How to update all the views whenver document got updated ?

1 Answers  


how can u change button shape at run time

3 Answers   Samsung,


What is the difference between workrer thread and UI thread

3 Answers   HCL,


1)At run-time, you can change the icon by calling the LoadIcon() function?

2 Answers  


Why not virtual functions to handle messages?

5 Answers  


How to handle command line arguements from simple MFC application ?

2 Answers   TCS,


what is the component of CLR ?

8 Answers   AZTEC, Symphony,


What is LPCTSTR? What does LP denote it?

4 Answers  


what if we provide two message handler for same message ?

1 Answers  


1)does Frame Thickness in MFC?

1 Answers   winfoware,


Which CPrintInfo member variable must be set for multiple page printouts?

1 Answers  


Categories