NSIS - onClick not working at all -
i have issue driving me crazy: cannot the onclick work, not simple example:
i've read documentation of nsis, once , again before asking, seems stuck (yes i'm new in nsis).
function button_click messagebox mb_ok "hi there!" functionend function fnc_usb_drive_create ... ${nsd_createbutton} 12 74 121 30 "button1" pop $hctl_usb_drive_button1 ${nsd_onclick} $hctl_usb_drive_button1 button_click ... functionend
the button appears on screen, clicking nothing. it's days have been working on this.
i have win7 sp1 64b, , nsis + nsis dialog designer (latest version of all). have idea?
page custom fnc_usb_drive_create var hctl_usb_drive_button1 !include nsdialogs.nsh function fnc_usb_drive_create nsdialogs::create 1018 pop $0 ${nsd_createbutton} 12 74 121 30 "button1" pop $hctl_usb_drive_button1 ${nsd_onclick} $hctl_usb_drive_button1 button_click nsdialogs::show functionend function button_click messagebox mb_ok "hi there!" functionend
works fine me, have other code might messing dialog?
Comments
Post a Comment