最大化多文档程序的子窗体

来源:互联网 发布:网络奇兵13dm 编辑:程序博客网 时间:2024/04/30 15:16

怎样最大化多文档程序的子窗体
BOOL   CChildFrame::PreCreateWindow(CREATESTRUCT&   cs)  
  {  
  //   TODO:   Modify   the   Window   class   or   styles   here   by   modifying  
  //     the   CREATESTRUCT   cs  
  cs.style=WS_CHILD   |   WS_VISIBLE   |   WS_OVERLAPPEDWINDOW|WS_MAXIMIZE;  
  if(   !CMDIChildWnd::PreCreateWindow(cs)   )  
  return   FALSE;  
   
  return   TRUE;  
  } 

原创粉丝点击