Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Retrieves the show state and the normal (restored), minimized, and maximized positions of a window.
BOOL GetWindowPlacement(
WINDOWPLACEMENT* lpwndpl
) const;
Parameters
- lpwndpl
Points to the WINDOWPLACEMENT structure that receives the show state and position information.
Return Value
Nonzero if the function is successful; otherwise 0.
Remarks
The flags member of the WINDOWPLACEMENT structure retrieved by this function is always 0. If CWnd is maximized, the showCmd member of WINDOWPLACEMENT is SW_SHOWMAXIMIZED. If the window is minimized, it is SW_SHOWMINIMIZED. It is SW_SHOWNORMAL otherwise.
Requirements
Header: afxwin.h