Hi evryone,
I need your help for the function show of a custom page.
This function doesn't seem to exist for a custom page but i really need to use it in order to disable a radiobutton on my page.
Here is my code i tried to make it work :
!define MUI_PAGE_CUSTOMFUNCTION_SHOW PreFunc
Page Custom InstallationStyle
......
Function PreFunc
FindWindow $0 "#32770" "" $HWNDPARENT
GetDlgItem $1 $0 0x4B0 <-- this my radiobutton
Enablewindow $1 0
FunctionEnd
so it is not working. If i try with an "internal page type" i can disable element but not with my custom page.
Is there an other way to disable a radiobutton on a custom page or is there a way to use show function with custom page.
If you have any idea it will be great 🙂
Thank you
Function Show for custom pgae
4 posts
How do you create your custom page?
With InstallOptions you can add the value "DISABLED" to the Flags field of the radiobutton (or any other control).
With nsDialogs you can disable a control by calling
With InstallOptions you can add the value "DISABLED" to the Flags field of the radiobutton (or any other control).
With nsDialogs you can disable a control by calling
${NSD_AddStyle} $ControlHwnd ${WS_DISABLED}Hi sorry for this late reply
I create my custom page with InstallOption.
So if i put in my ini file the field flags and fix it to disabled it should work. I'm going to try and tell you that.
Thank you anyway for your answer 🙂
I create my custom page with InstallOption.
So if i put in my ini file the field flags and fix it to disabled it should work. I'm going to try and tell you that.
Thank you anyway for your answer 🙂
It works great thanks again