Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 4th October 2010, 08:47   #1
dhiraj3301
Junior Member
 
Join Date: Apr 2010
Posts: 39
Exclamation How to Hide Combobox Control

Hi Everyone,

I want to hide 1 combobox and label associated with that combobox at some specific condition,
I have written following code but is not working for me:



!insertmacro INSTALLOPTIONS_READ $mbMachineNameCombobox "InstallServerComponentsList.ini" "Field 22" "HWND"

ShowWindow $MachineNameCombobox ${SW_Hide}

!insertmacro INSTALLOPTIONS_READ $mbMachineNameLabel "InstallServerComponentsList.ini" "" "HWND"

ShowWindow $mbMachineNameLabel ${SW_Hide}




Please suggest solution for it,
Thanks in advance,

Thanks,
Dhiraj
dhiraj3301 is offline   Reply With Quote
Old 4th October 2010, 10:20   #2
Animaether
Major Dude
 
Join Date: Jun 2001
Posts: 1,173
Quote:
Originally Posted by dhiraj3301 View Post
!insertmacro INSTALLOPTIONS_READ $mbMachineNameCombobox "InstallServerComponentsList.ini" "Field 22" "HWND"

ShowWindow $MachineNameCombobox ${SW_Hide}
Note that you're reading the value into a variable that starts with 'mb', then call ShowWindow on a different variable.
Animaether is offline   Reply With Quote
Reply
Go Back   Winamp 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