TWidgetSet.ShowWindow
Shows a window in an specific state.
Declaration
Source position: winapih.inc line 273
public function TWidgetSet.ShowWindow( |
hWnd: HWND; |
nCmdShow: Integer |
):Boolean; virtual; |
Arguments
Function result
True when the window was already visible.
Description
These are available options:
- sw_forceminimize
- SW_HIDE - hides the window.
- SW_MAXIMIZE - maximizes the window.
- SW_MINIMIZE - minimizes the window.
- SW_RESTORE - activates and restores from minimized/maximized to normal state.
- SW_SHOW - activates and shows the window.
- SW_SHOWMAXIMIZED - activates and maximizes the window.
- SW_SHOWMINIMIZED - activates and minimizes the window.
- SW_SHOWMINNOACTIVE - minimizes the window.
- SW_SHOWNA - shows the window.
- SW_SHOWNOACTIVATE - shows the window as designed.
- SW_SHOWNORMAL - activates and shows the window as designed.