FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How unload tabtip.exe ?
Posts: 340
Joined: Thu Jan 25, 2007 03:53 PM
How unload tabtip.exe ?
Posted: Tue Sep 10, 2013 05:27 PM

Hi

i am tring to work with win8 pro tablet.

I am using the:

ShellExecute(, "open", "TabTip.Exe")

to show the kb when i need it (just before get)

but at the end of get i am not able to close it.

Any help ?

tks

romeo/ziongoni

Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: How unload tabtip.exe ?
Posted: Tue Sep 10, 2013 07:17 PM

SendMessage( FindWindow( 0, "tabtip" ), WM_CLOSE ) // or Name of program( in window ).

Best regards,

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 340
Joined: Thu Jan 25, 2007 03:53 PM
Re: How unload tabtip.exe ?
Posted: Wed Sep 11, 2013 09:24 AM

it does not work.

I need something like dos command: TASKKILL ..... to end the tabtip.exe execution process

tks aany

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: How unload tabtip.exe ?
Posted: Wed Sep 11, 2013 09:46 AM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 174
Joined: Sat Feb 23, 2013 10:04 AM
Re: How unload tabtip.exe ?
Posted: Wed Sep 11, 2013 10:27 AM
Hi,

My funcs from my windows 8 tablet development:
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


From viewtopic.php?f=3&t=25706&start=30#p141924

Regards
Posts: 340
Joined: Thu Jan 25, 2007 03:53 PM
Re: How unload tabtip.exe ?
Posted: Wed Sep 11, 2013 10:56 AM

i get error with:

PostMessage(hWndInputPanel, WM_SYSCOMMAND, SC_CLOSE, 0)

what are WM_SYSCOMMAND and SC_CLOSE ?

And how can i detect if the kb is loaded ?

Hi

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: How unload tabtip.exe ?
Posted: Wed Sep 11, 2013 12:10 PM
Romeo,

#define WM_SYSCOMMAND 0x0112
#define SC_CLOSE 0xF060

to check if the keyboard is open you can do:

Code (fw): Select all Collapse
function IsKeyboardVisible()

return FindWindow( "IPTip_Main_Window" ) != 0


Antonio, thanks! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 174
Joined: Sat Feb 23, 2013 10:04 AM
Re: How unload tabtip.exe ?
Posted: Wed Sep 11, 2013 02:46 PM

A ti siempre, ¡ faltaría más ! :D

Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Re: How unload tabtip.exe ?
Posted: Wed Sep 11, 2013 03:18 PM
Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: How unload tabtip.exe ?
Posted: Wed Sep 11, 2013 06:52 PM

Jeff,

It uses the same source code as Antonio Mart explained, thanks anyhow :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 340
Joined: Thu Jan 25, 2007 03:53 PM
Re: How unload tabtip.exe ?
Posted: Tue Sep 17, 2013 10:29 AM

many thanks all

Continue the discussion