Home > DeveloperSection > Interviews > What are frames and CFrameWnd?

Posted on    August-17-2012 1:54 AM

 Visual C++
 1 Answer(s)
  2070  View(s)
Rate this:

Arun Singh

Total Post:310

Posted on    August-17-2012 12:00 AM

Frames contain view windows. Frame windows allow the user the capability to use status bars, toolbars, and splitters.

CFrameWnd contains the implementation to perform the function of a main window as wells as it keeps track of currently active view that is independent of Windows active window or input focus. It also provides the functionality of a Windows single document interface (SDI) overlapped. This is contained in CFrameWnd class.

For example:

class CFrameWnd : public CWnd

Don't want to miss updates? Please click the below button!

Follow MindStick