Jouvin

We are trying to add some PIP/TIP features to an existing application but there are a few things I'm not sure I got right and some answers would be greatly appreciated.

What we'd like to do is display the PIP/TIP automatically when an edit box gets the focus, then eventually make the Input Panel follow each edit box as we tab each in order. From my experiencing with the PenInputPanel (Windows XP SP2), I can only control the display of the input panel icon but the user still has to click on the icon to display the Input Panel. Is there a way to display the PenInputPanel completely without user input Is there a way to do the same with TextInputPanel in Vista

Thanks!

JF




Re: Notebook, Tablet PC, and UMPC Development PenInputPanel vs TextInputPanel

Stefan Wick - MSFT

Hi Jouvin,

On Windows Vista you can use the TextInputPanel object and set the DefaultInplaceState to 'Expanded' [1] in order to accomplish this.

On Windows XP Tablet PC Edition 2005 this object is not available. And you can't accomplish the same with the PenInputPanel object. As you pointed out, with the PIP you can only control the hover icon - and the user still has to click it in order to expand the panel.

Thanks,

Stefan Wick

Microsoft - Windows Experience

[1] http://msdn2.microsoft.com/en-us/library/microsoft.ink.textinput.textinputpanel.defaultinplacestate.aspx






Re: Notebook, Tablet PC, and UMPC Development PenInputPanel vs TextInputPanel

Jouvin

Thank you very much for your response.

I've got another question about the TIP behaviour:

In the OnSetFocus() function of a CEdit window (Windows Vista) we

1) s_pTIP->put_AttachedEditWindow(p_hWnd);
2) s_pTIP->put_DefaultInPlaceState(InPlaceState_Expanded);
3) s_pTIP->put_DefaultInputArea(PanelInputArea_Keyboard);

so that when the edit gets the focus, the TIP shows automatically in keyboard mode.
This works fine. However, when the user decides to use the (physical) keyboard to enter text instead of the TIP keyboard, the TIP hides at the first char entered, then shows at next char, then hides again at next char, then shows again, and so on for each char entered via keyboard.

Usually the TIP hides itself at first char entered via keyboard, but it looks like when InPlaceState is set to Expanded, the TIP acts as described above. Is this what we should expect No change is beeing made to the TIP between inputs (no unnecessary attach or property change). I don't mind the TIP hiding at first input but having it reappear at second char then dissapearing at third is a bit annoying..

Thanks!




Re: Notebook, Tablet PC, and UMPC Development PenInputPanel vs TextInputPanel

Jouvin

Nevermind previous post, a new thread was started to adress the issue.