Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.advocacy > #459376
| From | Jeff-Relf.Me @. |
|---|---|
| Message-ID | <Jeff-Relf.Me@Jul.25--5.48am.Seattle.2018> (permalink) |
| References | (4 earlier) <Jeff-Relf.Me@Jul.17--8.40pm.Seattle.2018> <Jeff-Relf.Me@Jul.21--2.32am.Seattle.2018> <Jeff-Relf.Me@Jul.22--10.17am.Seattle.2018> <Jeff-Relf.Me@Jul.23--3.12am.Seattle.2018> <Jeff-Relf.Me@Jul.23--4.34pm.Seattle.2018> |
| Newsgroups | comp.os.linux.advocacy, sci.physics, alt.comp.os.windows-10, news.software.readers, comp.lang.c++, alt.checkmate |
| Subject | InputApp and TabTIP are _always_ killed. |
| Organization | usenet-news.net |
| Date | 2018-07-25 05:48 -0700 |
Cross-posted to 6 groups.
stackoverflow.com/questions/50623154/c-sharp-wpf-windows-10-1803-touchkeyboard-unreliable-issue-prism-clickonce
When the keyboard toggle ( ITipInvocation.Toggle() )
doesn't work for a minute ( Win10 Ver 1803 ),
killing "...TextInput.InputApp.EXE" is the fix.
So, to toggle the keyboard on and off ( from X.CPP in Jeff-Relf.Me/X.ZIP ):
if ( WM == WM_HOTKEY && C == 'K' ) {
// A mouse button takes me here. Jeff-Relf.Me/g600.PNG
static const GUID CLSID_UIHostNoLaunch = { 0x4CE576FA, 0x83DC, 0x4f88,
0x95, 0x1C, 0x9D, 0x07, 0x82, 0xB4, 0xE3, 0x76 };
static const GUID IID_ITipInvocation = { 0x37c994e7, 0x432b, 0x4834,
0xa2, 0xf7, 0xdc, 0xe1, 0xf1, 0x3b, 0x83, 0x4b };
static struct ITipInvocation : IUnknown { virtual HRESULT STDMETHODCALLTYPE
Toggle( HWND wnd ) = 0; } * KB ;
#define ToggleKB ( KB = 0, CoCreateInstance( CLSID_UIHostNoLaunch, \
0, CLSCTX_INPROC_HANDLER | CLSCTX_LOCAL_SERVER, \
IID_ITipInvocation, (void**) & KB ), \
KB ? KB->Toggle( GetDesktopWindow() ), KB->Release() : 0 )
// InputApp and TabTIP are _always_ killed.
// IfAndOnlyIf InputApp _was_ running:
// The keyboard was up, and ToggleKB worked,
// taking the keyboard down ( Firefox&Chrome require ToggleKB ).
if ( ToggleKB, KillProc = 1, Running( L"TabTIP.EXE" ),
KillProc = 1, !Running( L"WindowsInternal.ComposableShell"
L".Experiences.TextInput.InputApp.EXE" ) )
// InputApp was _not_ running,
// launch "TabTIP" ( Tablet Touch Input Pane ):
Launch( L"%CommonProgramFiles%/microsoft shared/ink/TabTIP.EXE" ),
// Wait first (important),
// then bring the keyboard up ( Firefox&Chrome require ToggleKB ):
Sleep(99), ToggleKB ; }
. . . . . . .
// To get the process list, and kill stuff:
#include <tlhelp32.H>
int KillProc ;
int Running( LnP EXE ) { int Found ; HANDLE PIDs, aProc ;
PROCESSENTRY32 aPID = { sizeof aPID };
PIDs = CreateToolhelp32Snapshot( TH32CS_SNAPPROCESS, 0 );
Process32First( PIDs, &aPID );
while ( Found = Eqi( aPID.szExeFile, EXE ),
KillProc && Found && (
aProc = OpenProcess( PROCESS_TERMINATE, 0, aPID.th32ProcessID ),
aProc ? TerminateProcess( aProc, 9 ), CloseHandle( aProc ) : 0 ),
!Found && Process32Next( PIDs, &aPID ) );
KillProc = 0, CloseHandle( PIDs ); return Found ; }
Launch( wchar *Cmd ) { wchar _Cmd[333]; static PROCESS_INFORMATION Stat ;
static STARTUPINFO SU = { sizeof SU };
SetEnvironmentVariable( L"__compat_layer", L"RunAsInvoker" );
ExpandEnvironmentStrings( Cmd, _Cmd, 333 ), Cmd = _Cmd ;
if ( CreateProcess( 0, Cmd, 0,0,1,0,0,0, &SU , &Stat ) )
CloseHandle( Stat.hProcess ), CloseHandle( Stat.hThread ); }
// CoInitialize(0);
Back to comp.os.linux.advocacy | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Why Linux Desktop Failed. Hamilcar Barca <roys29888@manchester.org> - 2018-07-01 21:21 -0400
Re: Why Linux Desktop Failed. Snit <usenet@gallopinginsanity.com> - 2018-07-01 18:36 -0700
Re: Why Linux Desktop Failed. Hamilcar Barca <roys29888@manchester.org> - 2018-07-01 21:45 -0400
Re: Why Linux Desktop Failed. Snit <usenet@gallopinginsanity.com> - 2018-07-01 18:48 -0700
Re: Why Linux Desktop Failed. Hamilcar Barca <roys29888@manchester.org> - 2018-07-01 21:54 -0400
Re: Why Linux Desktop Failed. Snit <usenet@gallopinginsanity.com> - 2018-07-01 19:09 -0700
Re: Why Linux Desktop Failed. Hamilcar Barca <roys29888@manchester.org> - 2018-07-01 22:30 -0400
Re: Why Linux Desktop Failed. Snit <usenet@gallopinginsanity.com> - 2018-07-01 20:00 -0700
Why "Hamilcar Barca" was plonked. chrisv <chrisv@nospam.invalid> - 2018-07-02 07:36 -0500
Re: Why "Hamilcar Barca" was plonked. vallor <vallor@cultnix.org> - 2018-07-03 00:47 +0000
Re: Why "Hamilcar Barca" was plonked. Snit <usenet@gallopinginsanity.com> - 2018-07-02 18:36 -0700
Re: Why "Hamilcar Barca" was plonked. RonB <ronb02NOSPAM@gmail.com> - 2018-07-03 11:53 +0000
Re: Why "Hamilcar Barca" was plonked. chrisv <chrisv@nospam.invalid> - 2018-07-03 10:07 -0500
Re: Why "Hamilcar Barca" was plonked. SilverSlimer <.m@nsn.s> - 2018-07-10 14:33 -0400
Re: Why Linux Desktop Failed. Chris Ahlstrom <OFeem1987@teleworm.us> - 2018-07-02 14:56 -0400
Re: Why Linux Desktop Failed. Sammy <toofooyoung0o9@entermail.com> - 2018-07-02 20:49 +0000
Re: Why Linux Desktop Failed. SilverSlimer <.m@nsn.s> - 2018-07-10 14:47 -0400
Re: Why Linux Desktop Failed. William Poaster <wp@dev.null> - 2018-07-02 22:20 +0100
Re: Why Linux Desktop Failed. Pabst Blue Ribbon <pabst@blue.ribbon> - 2018-07-03 03:29 +0000
Re: Why Windows' Trolls BS Failed. RonB <ronb02NOSPAM@gmail.com> - 2018-07-03 11:55 +0000
Re: Why Linux Desktop Failed. chrisv <chrisv@nospam.invalid> - 2018-07-03 07:01 -0500
Re: Why Linux Desktop Failed. owl <owl@rooftop.invalid> - 2018-07-03 13:06 +0000
Re: Why Linux Desktop Failed. RonB <ronb02NOSPAM@gmail.com> - 2018-07-03 18:25 +0000
Re: Why Linux Desktop Failed. Pabst Blue Ribbon <pabst@blue.ribbon> - 2018-07-03 20:39 +0000
Re: Why Linux Desktop Failed. chrisv <chrisv@nospam.invalid> - 2018-07-09 07:04 -0500
Re: Why Linux Desktop Failed. Snit <usenet@gallopinginsanity.com> - 2018-07-09 13:30 -0700
Re: Why Linux Desktop Failed. Sammy <toofooyoung0o9@entermail.com> - 2018-07-11 21:09 +0000
Re: Why Linux Desktop Hasn't Failed. RonB <ronb02NOSPAM@gmail.com> - 2018-07-11 23:57 +0000
Re: Why Linux Desktop Failed. SilverSlimer <.m@nsn.s> - 2018-07-11 20:51 -0400
Re: Why Linux Desktop Failed. William Poaster <wp@dev.null> - 2018-07-03 13:06 +0100
Re: Why Linux Desktop Failed. SilverSlimer <.m@nsn.s> - 2018-07-10 15:08 -0400
Re: Why Linux Desktop Failed. SilverSlimer <.m@nsn.s> - 2018-07-10 14:53 -0400
Re: Why Linux Desktop Failed. Snit <usenet@gallopinginsanity.com> - 2018-07-10 17:08 -0700
Re: Why Linux Desktop Failed. SilverSlimer <.m@nsn.s> - 2018-07-10 14:49 -0400
Re: Why Linux Desktop Failed. chrisv <chrisv@nospam.invalid> - 2018-07-11 07:36 -0500
Re: Why Linux Desktop Failed. SilverSlimer <.m@nsn.s> - 2018-07-11 09:47 -0400
Re: Why Linux Desktop Failed. Sammy <toofooyoung0o9@entermail.com> - 2018-07-11 21:12 +0000
Re: Why Linux Desktop Failed. Snit <usenet@gallopinginsanity.com> - 2018-07-12 11:06 -0700
Re: Why Linux Desktop Failed. RonB <ronb02NOSPAM@gmail.com> - 2018-07-02 22:01 +0000
Re: Why Linux Desktop Failed. Ian Hilliard <nospam@nospam.org> - 2018-07-03 16:46 +0800
Re: Why Linux Desktop Failed. RonB <ronb02NOSPAM@gmail.com> - 2018-07-03 12:02 +0000
Re: Why Linux Desktop Failed. -hh <recscuba_google@huntzinger.com> - 2018-07-03 05:26 -0700
Re: Why Linux Desktop Failed. chrisv <chrisv@nospam.invalid> - 2018-07-03 08:01 -0500
Re: Why Linux Desktop Failed. -hh <recscuba_google@huntzinger.com> - 2018-07-04 05:47 -0700
Toggle "Touch Keyboard" ( TabTip.EXE ) On/Off. Jeff-Relf.Me @. - 2018-07-10 02:24 -0700
Toggling "Touch Keyboard" On/Off, Firefox and Chrome. Jeff-Relf.Me @. - 2018-07-10 13:52 -0700
Re: Toggling "Touch Keyboard" On/Off, Firefox and Chrome. % <persent@gmail.com> - 2018-07-10 13:56 -0700
ReKilling Cortana zombies. Jeff-Relf.Me @. - 2018-07-13 01:47 -0700
Re: Toggling "Touch Keyboard" On/Off, Firefox and Chrome. Storage Unit <storage.unit@mailinator.com> - 2018-07-15 22:01 -0500
As I get older, I give fewer and fewer fucks. Jeff-Relf.Me @. - 2018-07-15 22:09 -0700
Re: As I get older, I give fewer and fewer fucks. Steve Carroll <frelwizzen@gmail.com> - 2018-07-15 22:30 -0700
If the keyboard doesn't come up right away. Jeff-Relf.Me @. - 2018-07-16 06:12 -0700
Re: If the keyboard doesn't come up right away. Paul <nospam@needed.invalid> - 2018-07-16 09:38 -0400
Re: If the keyboard doesn't come up right away. Steve Carroll <frelwizzen@gmail.com> - 2018-07-16 07:04 -0700
"PROCESS_TERMINATE" in "Jeff-Relf.Me/X.CPP" in "Jeff-Relf.Me/X.ZIP". Jeff-Relf.Me @. - 2018-07-16 10:04 -0700
Re: "PROCESS_TERMINATE" in "Jeff-Relf.Me/X.CPP" in "Jeff-Relf.Me/X.ZIP". Steve Carroll <frelwizzen@gmail.com> - 2018-07-16 10:29 -0700
Re: If the keyboard doesn't come up right away. boltar@cylonHQ.com - 2018-07-16 13:47 +0000
Re: If the keyboard doesn't come up right away. lol <lol@lol.lol> - 2018-07-21 22:19 +0000
Re: TerminateProcess( aProc, 9 ). Steve Carroll <frelwizzen@gmail.com> - 2018-07-16 09:41 -0700
Re: The best way to toggle the Touch Keyboard. Steve Carroll <frelwizzen@gmail.com> - 2018-07-17 01:51 -0700
Re: Hopefully, I got it right this time ( only time will tell ). Steve Carroll <frelwizzen@gmail.com> - 2018-07-17 21:11 -0700
Re: Hopefully, I got it right this time ( only time will tell ). Steve Carroll <frelwizzen@gmail.com> - 2018-07-18 02:24 -0700
Re: Another fail, another post... Steve Carroll <frelwizzen@gmail.com> - 2018-07-21 03:02 -0700
ITipInvocation.Toggle() fails BIG TIME if it's called more than once a second. Jeff-Relf.Me @. - 2018-07-23 03:12 -0700
Re: ITipInvocation.Toggle() fails BIG TIME if it's called more than once a second. Steve Carroll <frelwizzen@gmail.com> - 2018-07-23 03:32 -0700
Re: ITipInvocation.Toggle() fails BIG TIME if it's called more than once a second. Steve Carroll <frelwizzen@gmail.com> - 2018-07-23 05:22 -0700
I'm narrowing it down, hopefully. Jeff-Relf.Me @. - 2018-07-23 16:34 -0700
Re: I'm narrowing it down, hopefully. Steve Carroll <frelwizzen@gmail.com> - 2018-07-23 16:38 -0700
Re: I'm narrowing it down, hopefully. Steve Carroll <frelwizzen@gmail.com> - 2018-07-25 06:43 -0700
InputApp and TabTIP are _always_ killed. Jeff-Relf.Me @. - 2018-07-25 05:48 -0700
Re: InputApp and TabTIP are _always_ killed. Steve Carroll <frelwizzen@gmail.com> - 2018-07-25 06:12 -0700
Re: Another fail, another post... "Colonel Edmund J. Burke" <burkesbabes@bigass-babes.com> - 2018-07-25 07:00 -0700
Re: As I get older, I give fewer and fewer fucks. Steve Carroll <frelwizzen@gmail.com> - 2018-07-16 06:32 -0700
Re: Toggling "Touch Keyboard" On/Off, Firefox and Chrome. Lewis <g.kreme@gmail.com.dontsendmecopies> - 2018-07-16 16:05 +0000
Re: Toggling "Touch Keyboard" On/Off, Firefox and Chrome. Paavo Helde <myfirstname@osa.pri.ee> - 2018-07-16 19:31 +0300
Re: Toggling "Touch Keyboard" On/Off, Firefox and Chrome. boltar@cylonHQ.com - 2018-07-17 09:03 +0000
Re: Toggling "Touch Keyboard" On/Off, Firefox and Chrome. Steve Carroll <frelwizzen@gmail.com> - 2018-07-17 02:22 -0700
Re: Toggling "Touch Keyboard" On/Off, Firefox and Chrome. SilverSlimer <silver@slim.er> - 2018-07-17 11:50 +0000
Re: Toggling "Touch Keyboard" On/Off, Firefox and Chrome. Steve Carroll <frelwizzen@gmail.com> - 2018-07-17 05:15 -0700
Re: Toggling "Touch Keyboard" On/Off, Firefox and Chrome. Paavo Helde <myfirstname@osa.pri.ee> - 2018-07-17 15:41 +0300
Re: Toggling "Touch Keyboard" On/Off, Firefox and Chrome. Snit <usenet@gallopinginsanity.com> - 2018-07-17 08:41 -0700
Re: Toggling "Touch Keyboard" On/Off, Firefox and Chrome. Steve Carroll <frelwizzen@gmail.com> - 2018-07-18 01:22 -0700
Re: Toggling "Touch Keyboard" On/Off, Firefox and Chrome. Paavo Helde <myfirstname@osa.pri.ee> - 2018-07-17 15:36 +0300
Re: Toggling "Touch Keyboard" On/Off, Firefox and Chrome. Steve Carroll <frelwizzen@gmail.com> - 2018-07-17 07:03 -0700
Re: Toggling "Touch Keyboard" On/Off, Firefox and Chrome. Steve Carroll <frelwizzen@gmail.com> - 2018-07-18 02:55 -0700
Switch SysFolders to Short, Friendly Paths, all under "C:\__" ( Home ). Jeff-Relf.Me @. - 2018-07-16 10:15 -0700
Re: Toggling "Touch Keyboard" On/Off, Firefox and Chrome. Storage Unit <storage.unit@mailinator.com> - 2018-07-17 05:32 -0500
Re: Toggling "Touch Keyboard" On/Off, Firefox and Chrome. % <Persent@gmail.com> - 2018-07-18 06:23 -0700
Re: Why Linux Desktop Failed. SilverSlimer <.m@nsn.s> - 2018-07-10 15:07 -0400
Re: Why Linux Desktop Failed. Snit <usenet@gallopinginsanity.com> - 2018-07-10 17:07 -0700
Re: Why Linux Desktop Failed. Tattoo Vampire <sitting@this.computer> - 2018-07-11 11:46 +0000
Re: Why Linux Desktop Failed. chrisv <chrisv@nospam.invalid> - 2018-07-11 07:25 -0500
Re: Why Linux Desktop Failed. SilverSlimer <.m@nsn.s> - 2018-07-11 09:18 -0400
Re: Why Linux Desktop Failed. RonB <ronb02NOSPAM@gmail.com> - 2018-07-11 17:50 +0000
Re: Why Linux Desktop Failed. SilverSlimer <.m@nsn.s> - 2018-07-11 15:20 -0400
Re: Why Linux Desktop Failed. George <georgehasnoemailaddress@mailg.org> - 2018-07-11 17:16 -0400
Re: Why Linux Desktop Hasn't Failed. RonB <ronb02NOSPAM@gmail.com> - 2018-07-11 17:47 +0000
Re: Why Linux Desktop Hasn't Failed. Snit <usenet@gallopinginsanity.com> - 2018-07-12 11:09 -0700
Re: Why Linux Desktop Failed. Sammy <toofooyoung0o9@entermail.com> - 2018-07-11 21:10 +0000
Re: Why Linux Desktop Failed. Snit <usenet@gallopinginsanity.com> - 2018-07-12 11:05 -0700
Re: Why Linux Desktop Failed. SilverSlimer <.m@nsn.s> - 2018-07-11 09:13 -0400
Re: Why Linux Desktop Failed. -hh <recscuba_google@huntzinger.com> - 2018-07-11 09:10 -0700
Re: Why Linux Desktop Failed. SilverSlimer <.m@nsn.s> - 2018-07-11 12:46 -0400
Re: Why Linux Desktop Failed. -hh <recscuba_google@huntzinger.com> - 2018-07-11 13:14 -0700
Re: Why Linux Desktop Failed. SilverSlimer <.m@nsn.s> - 2018-07-11 16:24 -0400
Re: Why Linux Desktop Failed. -hh <recscuba_google@huntzinger.com> - 2018-07-11 14:53 -0700
Re: Why Linux Desktop Failed. "F. Russell" <fr@random.info> - 2018-07-11 22:33 +0000
Re: Why Linux Desktop Failed. Snit <usenet@gallopinginsanity.com> - 2018-07-12 11:04 -0700
Re: Why Linux Desktop Failed. -hh <recscuba_google@huntzinger.com> - 2018-07-13 05:18 -0700
set PROMPT=$P$_$g Jeff-Relf.Me @. - 2018-07-23 17:27 -0700
Re: Why Linux Desktop Failed. George <georgehasnoemailaddress@mailg.org> - 2018-07-11 17:15 -0400
Re: Why Linux Desktop Failed. Sammy <toofooyoung0o9@entermail.com> - 2018-07-11 22:25 +0000
Re: Why Linux Desktop Hasn't Failed. RonB <ronb02NOSPAM@gmail.com> - 2018-07-12 00:00 +0000
Re: Why Linux Desktop Failed. SilverSlimer <.m@nsn.s> - 2018-07-11 20:53 -0400
Re: Why Linux Desktop Failed. fr314159@gmail.com - 2018-07-11 10:23 -0700
Re: Why Linux Desktop Failed. chrisv <chrisv@nospam.invalid> - 2018-07-11 12:25 -0500
Re: Why Linux Desktop Failed. -hh <recscuba_google@huntzinger.com> - 2018-07-11 14:09 -0700
Re: Why Linux Desktop Failed. Chris Ahlstrom <OFeem1987@teleworm.us> - 2018-07-11 17:15 -0400
Re: Why Linux Desktop Hasn't Failed. RonB <ronb02NOSPAM@gmail.com> - 2018-07-11 17:58 +0000
Re: Why Linux Desktop Hasn't Failed. Snit <usenet@gallopinginsanity.com> - 2018-07-12 11:08 -0700
Re: Why Linux Desktop Failed. Sammy <toofooyoung0o9@entermail.com> - 2018-07-11 21:01 +0000
Re: Why Linux Desktop Failed. Snit <usenet@gallopinginsanity.com> - 2018-07-12 08:46 -0700
Re: Why Linux Desktop Hasn't Failed. RonB <ronb02NOSPAM@gmail.com> - 2018-07-11 17:43 +0000
Re: RonB lies again. Snit <usenet@gallopinginsanity.com> - 2018-07-12 11:10 -0700
Re: Why Linux Desktop Hasn't Failed. Peter Köhlmann <peter-koehlmann@t-online.de> - 2018-07-20 00:02 +0200
Re: Why Linux Desktop Hasn't Failed. Steve Carroll <frelwizzen@gmail.com> - 2018-07-19 15:26 -0700
Re: Why Linux Desktop Hasn't Failed. Snit <usenet@gallopinginsanity.com> - 2018-07-19 15:27 -0700
Re: Why Linux Desktop Hasn't Failed. Steve Carroll <frelwizzen@gmail.com> - 2018-07-19 15:57 -0700
Re: Why Linux Desktop Hasn't Failed. SilverSlimer <silver@slim.er> - 2018-07-20 13:09 +0000
Re: Why Linux Desktop Hasn't Failed. Steve Carroll <frelwizzen@gmail.com> - 2018-07-20 07:02 -0700
Re: Why Linux Desktop Failed. Snit <usenet@gallopinginsanity.com> - 2018-07-12 08:47 -0700
Re: Why Linux Desktop Failed. Snit <usenet@gallopinginsanity.com> - 2018-07-03 21:00 -0700
Re: Why Linux Desktop Failed. Ian Hilliard <nospam@nospam.org> - 2018-07-12 13:53 +0800
Re: Why Linux Desktop Failed. Snit <usenet@gallopinginsanity.com> - 2018-07-12 11:02 -0700
Re: Why Linux Desktop Hasn't Failed. RonB <ronb02NOSPAM@gmail.com> - 2018-07-12 18:41 +0000
Re: RonB attacks choice Snit <usenet@gallopinginsanity.com> - 2018-07-12 13:22 -0700
Re: RonB attacks choice Steve Carroll <frelwizzen@gmail.com> - 2018-07-13 12:38 -0700
Re: Why Linux Desktop Failed. SilverSlimer <.m@nsn.s> - 2018-07-13 18:23 -0400
Re: Why Linux Desktop Failed. SilverSlimer <.m@nsn.s> - 2018-07-10 14:28 -0400
csiph-web