Keyboard not showing for editorgadget in windows tablet

Just starting out? Need help? Post your questions and find answers here.
BjornF
User
User
Posts: 35
Joined: Mon Jun 23, 2008 11:09 am
Location: Copenhagen

Keyboard not showing for editorgadget in windows tablet

Post by BjornF »

Dear All,

I'm writing a program to be used on a Windows 10 tablet. If in tablet mode the keyboard is supposed to pop up whenever an "enter text field" is selected. This works well on the InputRequester, the keyboard pops up as it should. When selecting an editorgadget it does not however. Any thoughts on what can be done?

All the best,

Björn
User avatar
Mijikai
Addict
Addict
Posts: 1520
Joined: Sun Sep 11, 2016 2:17 pm

Re: Keyboard not showing for editorgadget in windows tablet

Post by Mijikai »

Try/Run:

Code: Select all

tabtip.exe
BjornF
User
User
Posts: 35
Joined: Mon Jun 23, 2008 11:09 am
Location: Copenhagen

Re: Keyboard not showing for editorgadget in windows tablet

Post by BjornF »

Thank you Mijikai, but the problem is if the user closes the keyboard how can it be brought back? I can see that if you leave my program and activate the tabtip you get the keyword back, but that is too complicated.

Normally you would be able to activate the keyboard by pressing the keyboard icon on the taskbar, but when in tablet mode the taskbar is hidden by the program that by default (windows' not mine) takes up the entire screen.

All the best,

Björn
User avatar
Mijikai
Addict
Addict
Posts: 1520
Joined: Sun Sep 11, 2016 2:17 pm

Re: Keyboard not showing for editorgadget in windows tablet

Post by Mijikai »

There seems to be an Interface 'ITipInvocation' that has a Toggle() option to bring back up the input.

Info:

Code: Select all

[Guid("37c994e7-432b-4834-a2f7-dce1f13b834b")]
        [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
        interface ITipInvocation
        {
            void Toggle(IntPtr hwnd);
        }

Note: the tabtip.exe nonsense needs to be running!

Mby u can find more information.
BjornF
User
User
Posts: 35
Joined: Mon Jun 23, 2008 11:09 am
Location: Copenhagen

Re: Keyboard not showing for editorgadget in windows tablet

Post by BjornF »

Ok, thank you for the help.

All the best,

Björn
Post Reply