I can enable and disable the edit box, but the tabstop doesn't change unless I leave the page and re-enter it. (In other words, if the field is active upon entry then the tab always goes into the edit box even when it is grayed out; vice-versa if it is disabled upon screen entry the tab won't go into it even if it becomes active.)
To disable the edit box I have the edit box HWND in $1 and use:
To enable the edit box I use:
!insertmacro MUI_INSTALLOPTIONS_WRITE "newpage.ini" "Field 3" "Flags" DISABLED|READONLY|NOTABSTOP
SendMessage $1 ${WM_ENABLE} 0 0
SendMessage $1 ${EM_SETREADONLY} 1 0
Abort
Does anyone have ideas?
!insertmacro MUI_INSTALLOPTIONS_WRITE "newpage.ini" "Field 3" "Flags" ""
SendMessage $1 ${WM_ENABLE} 1 0
SendMessage $1 ${EM_SETREADONLY} 0 0
Abort
Thanks,
Don