Reputation: 25938
Does NSDialogs have a function that allows you to disable a CheckBox widget? If not I guess the only method is native WinAPI functions.
I've looked through NSDialogs api but cant find any disable functions
Edit: It appears I am having difficulty doing this even with WinAPI functions(SendMessage) any ideas why?
${NSD_CreateCheckbox} 12u 67u 45u 10u "Version 10"
Pop $myChkBx
SendMessage $myChkBx ${WM_ENABLE} "FALSE" "FALSE"
Upvotes: 1
Views: 866
Reputation: 11465
The wrong point of your attempt is that you were passing two strings FALSE
to the SendMessage
instead of the false value that is 0
.
SendMessage $myChkBx ${WM_ENABLE} 0 0
Upvotes: 0