MFC分割窗口出错

2025-05-22 05:13:48
推荐回答(1个)
回答1:

不知道你的VS的版本。
下面的内容来自MSDN对于VS2005的。
http://msdn.microsoft.com/zh-cn/library/5t513e2c(v=VS.80).aspx
告诫说不要调用此函数。
API是功能,但实现功能的时机一定要合适。

Never call this function.
The default implementation of this function creates a CView object from the information provided in pContext, if possible.
Override this function to override values passed in the CCreateContext object or to change the way controls in the main client area of the frame window are created. The CCreateContext members you can override are described in the CCreateContext class.