CWindow::ResizeClient

调整窗口的大小到指定的客户端区域的大小。

BOOL ResizeClient( 
   int nWidth, 
   int nHeight, 
   BOOL bRedraw = FALSE  
) throw();

参数

  • nWidth
    窗口的新宽度(以像素为单位)。

  • nHeight
    窗口的新高度(以像素为单位)。

  • bRedraw
    指示是否的标志重绘更改。 默认值为 FALSE,指示窗口不重绘更改。

要求

Header: atlwin.h

请参见

参考

CWindow Class

CWindow::SetWindowPos

SetWindowPos