Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 19th March 2008, 14:27   #1
jfk
Junior Member
 
Join Date: Mar 2008
Posts: 7
Button Next

Hi:

I have another problem....

I have a custom page where I disabled the Next button....I want this button to enable when the user select one item of a listbox...

...code of custom page:

function MyCustomPage
push $R0
InstallOptions::InitDialog /NOUNLOAD "${PathThereAreFiles}\iniDialogSelectAutoCAD.ini"
pop $R0

GetDlgItem $R0 $HWNDPARENT 1
EnableWindow $R0 0

!insertmacro MUI_HEADER_TEXT $(PAGE_TITLE_dgSelectAutoCAD) $(PAGE_SUBTITLE_dgSelectAutoCAD)

InstallOptions::Show
pop $R0
functionend

.....I have read some threads of this forum about this but none has worked for me....

How can I get the button enabled when selecting and item of the listbox??

Thanks,
Kadir
jfk is offline   Reply With Quote
Old 19th March 2008, 14:59   #2
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
Use the leave function as suggested in testnotify.nsi example.

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine 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