CWindow::ResizeClient

 

Resizes the window to the specified client area size.

Syntax

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

Parameters

  • nWidth
    New width of the window in pixels.

  • nHeight
    New height of the window in pixels.

  • bRedraw
    A flag indicating whether to redraw changes. Default is FALSE, indicating the window does not redraw changes.

Requirements

Header: atlwin.h

See Also

CWindow Class
CWindow::SetWindowPos
SetWindowPos