FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to automatic activate keyboard on screen on W8?
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
How to automatic activate keyboard on screen on W8?
Posted: Sat Apr 25, 2015 01:28 AM

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&regards,
Dutch

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: How to automatic activate keyboard on screen on W8?
Posted: Sat Apr 25, 2015 08:07 AM
Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Re: How to automatic activate keyboard on screen on W8?
Posted: Mon Apr 27, 2015 10:56 AM
Dear Cnavarro,

Do I need to modify or override class TGet:gotfocus() as sample?

When will I should be unload Keyboard?
Code (fw): Select all Collapse
TGet.Prg

STATIC hWndGet
...
METHOD GotFocus()

IF hWndGet == NIL .OR. hWndGet != ::hWnd
WinExec("TabTip.Exe")
ENDIF
.....
hWndGet:= ::hWnd
RETURN 0

Code (fw): Select all Collapse
//-------------------------------------------------------------------------//
// 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

cnavarro wrote:Look

viewtopic.php?f=3&t=28834&p=162062&hilit=keyboard#p162062
Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)

Continue the discussion