Page 1 of 1
How to automatic activate keyboard on screen on W8?
Posted: Sat Apr 25, 2015 1:28 am
by dutch
I would like to activate keyboard on screen as usual (tablet natual)? Because when oGet:Setfocus() on W8, it doesn't activate the keyboard automatically.
Thanks®ards,
Dutch
Re: How to automatic activate keyboard on screen on W8?
Posted: Sat Apr 25, 2015 8:07 am
by cnavarro
Re: How to automatic activate keyboard on screen on W8?
Posted: Mon Apr 27, 2015 10:56 am
by dutch
Dear Cnavarro,
Do I need to modify or override class TGet:gotfocus() as sample?
When will I should be unload Keyboard?
Code: Select all | Expand
TGet.Prg
STATIC hWndGet
...
METHOD GotFocus()
IF hWndGet == NIL .OR. hWndGet != ::hWnd
WinExec("TabTip.Exe")
ENDIF
.....
hWndGet:= ::hWnd
RETURN 0
Code: Select all | Expand
//-------------------------------------------------------------------------//
// For Windows 8.
FUNCTION ShowInputPanel()
*
ShellExecute(, "open", "tabtip.exe")
*
RETURN NIL
*
//-------------------------------------------------------------------------//
// For Windows 8.
FUNCTION HideInputPanel()
Local hWndInputPanel
*
hWndInputPanel:= FindWindow("IPTip_Main_Window")
PostMessage(hWndInputPanel, WM_SYSCOMMAND, SC_CLOSE, 0)
* (¿ SysRefresh() ? )
RETURN NIL
Antonio Mart.
Posts: 123
Joined: Sat Feb 23, 2013 5:04 pm