Prev Previous Post   Next Post Next
Old 14th September 2010, 14:34   #1
Junior Member
Join Date: Apr 2010
Posts: 29
MUI_HWND not recognised


I am trying to hide the 'RUN' checkbox on the finishpage on a condition.

Using the following function:

PHP Code:
Function HideCheckbox
${If} $InstallationChoice == "deinstall"
GetDlgItem $R9 $MUI_HWND "1203"  
ShowWindow $R9 ${SW_HIDE}
Defined like this:
PHP Code:
!define MUI_PAGE_CUSTOMFUNCTION_SHOW                HideCheckbox 
But, the compiler give me a warning:
PHP Code:
unknown variable/constant "MUI_HWND" detectedignoring (installatie_keuze.nsh:63
And the function doesn't work.
The function is called and the condition is true, but $R9 is always 0

Am I missing something?
JohaViss is offline   Reply With Quote
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