Reference/ShowWindow: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
(Created page with "=ShowWindow= hwnd show_state Sets the visibility of a window. Possible show_states are the same as [http://msdn2.microsoft.com/en-us/library/ms633548 Windows ShowWindow] funct...") |
mNo edit summary |
||
| Line 10: | Line 10: | ||
Sleep 1000 | Sleep 1000 | ||
ShowWindow $0 ${SW_SHOW}</highlight-nsis> | ShowWindow $0 ${SW_SHOW}</highlight-nsis> | ||
''Command introduced with NSIS v2.0'' | |||
Latest revision as of 11:27, 3 June 2013
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