Get id of custom button
Hello All,
Can any one help me in understanding how can i fetch the id of button before going to custom page ..i want to hide that custom button before displaying the page, and enable it on click of check box...for doing this i suppose i need control id of custom button..
So i did like that -
i am using install options for custom page..and my custom button field number is '15'.
!macro checkMemory
GetDlgItem $R0 $HWNDPARENT 1214
EnableWindow $R0 0
!macroend
Function CustomP
!insertmacro checkMemory
!insertmacro INSTALLOPTIONS_DISPLAY "custom.ini"
FunctionEnd
thanks