Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Check status of a control (enabled/disabled) (http://forums.winamp.com/showthread.php?t=317058)

phoenixr_dba 16th February 2010 11:48

Check status of a control (enabled/disabled)
 
Can you check the status of a button for example ? Is it in an enabled or disabled state ?

I need to Enable/Disable a button based on some condition but I don't know how to check the existing state of the button.

Something similar to ${NSD_GetState}

Thanks

Anders 16th February 2010 12:46

system::call 'user32::IsWindowEnabled(i $yourhandle)i.r0'

(result is in $0)

phoenixr_dba 17th February 2010 20:47

10x.


All times are GMT. The time now is 04:27.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.