Article View: news.software.readers
Article #262771Toggling "Touch Keyboard" On/Off, Firefox and Chrome.
From: Jeff-Relf.Me
Date: Tue, 10 Jul 2018 20:52
Date: Tue, 10 Jul 2018 20:52
34 lines
2676 bytes
2676 bytes
Previously, I wrote:
> I love my ArmMounted, 40 inch, 4k, curved monitor, at arm's length,
> in bed; but, with no real desk or touch screen,
> hardware keyboards are a major pain in the ass.
>
> So I was thrilled by the "Touch Keyboard" recently introduced
> to the Windows 10, MouseOnly DesktopMode;
> what's more, it lets me (voice) dictate text.
>
> Now, "Jeff-Relf.Me/X.HTM" supports these SystemWide "HotKeys"
> ( assigned to g600 mouse buttons, Jeff-Relf.Me/g600.PNG ):
>
> Alt+Shift+Ctrl+K: Toggles "Touch Keyboard" On/Off.
> Alt+Shift+Ctrl+M: Toggles Monitor On/Off(asleep).
Compared to other apps, Firefox and Chrome are very picky
about how they interact with the Touch Keyboard;
so " Show Touch Keyboard button ", in SysTray, Must be Enabled.
"Randomly", the keyboard is slow to come up; I'm working on it.
HWND Win, TaskBar, SysTray, Keyboard ; MSG Msg ;
...
TaskBar = FindWindow( L"Shell_TrayWnd", 0 );
SysTray = FindWindowEx( TaskBar, 0, L"TrayNotifyWnd", 0 );
Keyboard = FindWindowEx( SysTray, 0, L"TIPBand", 0 );
....
RegisterHotKey(
Win, 'K', MOD_CONTROL | MOD_ALT | MOD_SHIFT | MOD_NOREPEAT, 'K' );
....
if ( Msg.message == WM_HOTKEY && Msg.wParam == 'K' )
Launch( L"/Program Files/Common Files/microsoft shared/ink/TabTip.EXE" ),
PostMessage( Keyboard, WM_LBUTTONDOWN, 0, 0 ),
PostMessage( Keyboard, WM_LBUTTONUP, 0, 0 );
Technical Details
Message-ID:
<Jeff-Relf.Me@Jul.10--1.52pm.Seattle.2018>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.lang.c++.(381507).mbox.7z!not-for-mailReferences:
<fptd0bFrbg7U1@mid.individual.net> <fq0renFglc7U1@mid.individual.net> <phfok1$fmb$3@dont-email.me> <a960d541-aed5-43b0-9fd9-7e6ec469940a@googlegroups.com> <Jeff-Relf.Me@Jul.10--2.24am.Seattle.2018>Show Full Headers
Complete Article Headers
Message-ID: <Jeff-Relf.Me@Jul.10--1.52pm.Seattle.2018> Subject: Toggling "Touch Keyboard" On/Off, Firefox and Chrome. Date: Tue, 10 Jul 2018 20:52:48 +0000 From: Jeff-Relf.Me @. References: <fptd0bFrbg7U1@mid.individual.net> <fq0renFglc7U1@mid.individual.net> <phfok1$fmb$3@dont-email.me> <a960d541-aed5-43b0-9fd9-7e6ec469940a@googlegroups.com> <Jeff-Relf.Me@Jul.10--2.24am.Seattle.2018> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.lang.c++.(381507).mbox.7z!not-for-mail Content-Type: Text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Newsgroups: comp.os.linux.advocacy,sci.physics,alt.comp.os.windows-10,news.software.readers,comp.lang.c++,alt.checkmate User-Agent: Jeff-Relf.Me/X.HTM Lines: 34 X-Complaints-To: abuse@usenet-news.net NNTP-Posting-Date: Tue, 10 Jul 2018 20:52:48 UTC Organization: usenet-news.net X-Received-Bytes: 2468 X-Received-Body-CRC: 1959539794