Old 21st April 2008, 18:09   #1
Sentack
Junior Member
 
Join Date: Apr 2008
Posts: 2
Using NSD_CreateCheckBox

I'm new to making an installer with NSIS and so far, using the NSD library has been a blessing in building simple custom pages. One problem I've been having lately is identifying a way to 'gray out' a check box. Perhaps I have to use more conventional methods of making a page then use the NSD library but what I want to do is have a checkbox that is in the off or on state but grayed out from user input, that is, they can't change the state but need to be aware of what the current state is. It doesn't seem to me that NSD_SetState has an option for "Grayed out". Any ideas?
Sentack is offline   Reply With Quote
Old 21st April 2008, 18:28   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
EnableWindow

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 21st April 2008, 19:28   #3
Sentack
Junior Member
 
Join Date: Apr 2008
Posts: 2
Ah, perfect. Thanks a ton.
Sentack is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump