|
-
July 26th, 2007, 05:13 AM
#1
Closing Mainframe window
Hi,
My mainframe window has close,mini amd maxi buttons.
But it does not work.
I cannot close or minimize the window.
Whats the reason.
My Precreatewindow codes like
BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
{
cs.style = WS_POPUP | WS_OVERLAPPED | WS_CAPTION | FWS_ADDTOTITLE
| WS_SYSMENU | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_MAXIMIZE;
return CMDIFrameWnd::PreCreateWindow(cs);
}
Whats the reason?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|