现在开始定义框架类,它代表应用程序中的主窗口。
Now, define a frame class, which will represent the main window of your application.
一个可能的方法是重载CMDIChildWnd类的ActivateFrame成员函数,从中为选择所需的工具栏向主框架发送一个消息。
A possible way is to override the ActivateFrame member function of CMDIChildWnd and from there to send a message to the main frame for selecting the required toolbar.
SDI应用的主框架窗口的基类。也是所有其它框架窗口类的基类。
The base class for an SDI application's main frame window. Also the base class for all other frame window classes.
应用推荐