Compartilhar via


CWindow::SetWindowPos

Define o dimensionar, posição e a ordem Z.

BOOL SetWindowPos(
   HWND hWndInsertAfter,
   int x,
   int y,
   int cx,
   int cy,
   UINT nFlags 
) throw();
BOOL SetWindowPos(
   HWND hWndInsertAfter,
   LPCRECT lpRect,
   UINT nFlags 
) throw();

Comentários

See SetWindowPos in the Windows SDK.

A segunda versão esse método usa um RECT estrutura para conjunto nova posição da janela, largura e altura.

Requisitos

Cabeçalho: atlwin.h

Consulte também

Referência

Classe CWindow

CWindow::BringWindowToTop

CWindow::MoveWindow

RECT

Outros recursos

CWindow membros