Gui Edit Box on a tablet.
- PuzzledGreatly
- Posts: 1303
- Joined: 29 Sep 2013, 22:18
Gui Edit Box on a tablet.
How can I make the onscreen keyboard appear when the user touches an edit box. This is for a table using Windows 8 which I am very unfamiliar with. The Gui is fullscreen and without the keyboard there is no way to edit the edit field.
Re: Gui Edit Box on a tablet.
Something like this should work
Code: Select all
Gui, Add, Edit,
Gui, Add, Edit,, TOUCH ME
Gui, Show, w300 h300, LOOLOL
SetTimer, focusCheck, 500
return
focusCheck:
ControlGetFocus, var, LOOLOL
if (var = "Edit2")
{
Run, %windir%\system32\osk.exe ;this is the windows 7 path, not sure about windows 8
ExitApp
return
}
else
return
Re: Gui Edit Box on a tablet.
osk.exe is the accessibility keyboard, not the touch keyboard that is normally called by tapping the keyboard icon on the taskbar. Though it would certainly work as a workaround.
Re: Gui Edit Box on a tablet.
%ProgramFiles%\Common Files\microsoft shared\ink\TabTip.exe
I think that is the touch keyboard.
I think that is the touch keyboard.