Reference/EnableWindow: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(Created page with "=EnableWindow= hwnd (1|0) Enables or disables mouse and keyboard input to the specified window or control. Possible states are 0 (disabled) or 1 (enabled). <highlight-nsis>Ge...")
 
mNo edit summary
 
Line 9: Line 9:
Sleep 1000
Sleep 1000
EnableWindow $0 1</highlight-nsis>
EnableWindow $0 1</highlight-nsis>
''Command introduced with NSIS v2.0''

Latest revision as of 11:18, 3 June 2013

EnableWindow

hwnd (1|0)

Enables or disables mouse and keyboard input to the specified window or control. Possible states are 0 (disabled) or 1 (enabled).

GetDlgItem $0 $HWNDPARENT 1
EnableWindow $0 0
Sleep 1000
EnableWindow $0 1

Command introduced with NSIS v2.0