Reference/ShowWindow

From NSIS Wiki
Jump to navigationJump to search

ShowWindow

hwnd show_state

Sets the visibility of a window. Possible show_states are the same as Windows ShowWindow function. SW_* constants are defined in Include\WinMessages.nsh.

!include WinMessages.nsh
GetDlgItem $0 $HWNDPARENT 1
ShowWindow $0 ${SW_HIDE}
Sleep 1000
ShowWindow $0 ${SW_SHOW}

Command introduced with NSIS v2.0