Maximizing the ChildFrame window
Posted on 1999-11-24
When maximizing the CMDIChildWnd window on MDI application it looses the Minimize, Restore and Maximize buttons on the top-right frame window.
Here’s how I try to maximize the window (simple, but it doesn’t work):
int CChildFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
if (CMDIChildWnd::OnCreate(lpCreateStruct) == -1)
The application shows Minimize, Restore and Maximize buttons only for the main window (CMDIFrameWnd), that is I cannot restore or minimize the ChildFrame windows after calling MDIMaximise() member function.
If anyone knows how to solve this problem I will appreciate your help.