Udostępnij za pośrednictwem


What Frame Windows Do

Besides simply framing a view, frame windows are responsible for numerous tasks involved in coordinating the frame with its view and with the application. CMDIFrameWnd and CMDIChildWnd inherit from CFrameWnd, so they have CFrameWnd capabilities as well as new capabilities that they add. Examples of child windows include views, controls such as buttons and list boxes, and control bars, including toolbars, status bars, and dialog bars.

The frame window is responsible for managing the layout of its child windows. In the MFC framework, a frame window positions any control bars, views, and other child windows inside its client area.

The frame window also forwards commands to its views and can respond to notification messages from control windows.

What do you want to know more about?

See Also

Concepts

Frame Windows