Setting focus on cotrols
How to set focus on text edit control? I understand that I can obtain a handle for a control, but there's no function like SetFocus(handle)?
It is useful for setting cursor on text edit with incorrect user input.
Thanks.
Archive: Setting focus on cotrols
Setting focus on cotrols
How to set focus on text edit control? I understand that I can obtain a handle for a control, but there's no function like SetFocus(handle)?
It is useful for setting cursor on text edit with incorrect user input.
Thanks.
Thanks alot!
Originally posted by deguixThis seems to be working with Modern UI (since I'm using MUI_INSTALLOPTIONS_DISPLAY. Maybe there're some another ways to specify an initial control?
http://forums.winamp.com/showthread....59#post1444459
You mean, another way to specify the initial control for focus? The first field specifies the first control to have focus. If the control can't have focus (like labels) then the next control will have it.
Originally posted by deguixSorry, I've missed 'not' word: I cannot make this way work. If I write something like
You mean, another way to specify the initial control for focus? The first field specifies the first control to have focus. If the control can't have focus (like labels) then the next control will have it.
You have to load the ini file first using !insertmacro MUI_INSTALLOPTIONS_INITDIALOG and then use !insertmacro MUI_INSTALLOPTIONS_SHOW to show it.
Thanks! It works now.