Creating a Mini Frame-Based Application |
|
Overview |
This topic shows how to create a mini frame, as opposed to a full main frame, based application Prerequisites: A mini frame is frame window with tool window type of title based. Although it is usually used as an addition to a full frame window, you can still create an application whose main or primary object is a mini frame. |
The mini frame window is based on the CMiniFrameWnd class. If you want to create an application based on it, don't use the application wizard. For one thing the job involved in modifying the application can be overwhelming and uselessly difficult. For another, it is particularly easy to create a mini frame-based application. What you have to do is to call and retrieve the return value of the AfxRegisterWndClass() global function, declare a variable or a pointer to CMiniFrameWnd, pass it to the CMiniFrameWnd::Create() method, and finally initialize the application's m_pMainWnd variable.
|
|
||
Home | Copyright © 2003-2007 FunctionX, Inc. | FunctionX |
|