Compartilhar via


CWindow::ResizeClient

Resizes the window to the specified client area size.

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

Reference

CWindow Class

CWindow::SetWindowPos

SetWindowPos

Other Resources

CWindow Members