IPenInputPanel::put_CurrentPanel method (peninputpanel.h)

Deprecated. The PenInputPanel has been replaced by the Text Input Panel (TIP).

Gets or sets which panel type is currently being used for input within the PenInputPanel object.

This property is read/write.

Syntax

HRESULT put_CurrentPanel(
  PanelType CurrentPanel
);

Parameters

CurrentPanel

Return value

None

Remarks

Note  The CurrentPanel property cannot be set to Default or Inactive, only Handwriting or Keyboard.
 
When you create a PenInputPanel object, the Handwriting panel - also known as the writing pad - is the default input UI.

If you change the panel by setting the CurrentPanel property before the PenInputPanel object becomes active for the first time, a PanelChanged event occurs.

CurrentPanel returns the Inactive enumeration value if the panel window is associated with another instance of the PenInputPanel object. Setting the CurrentPanel property raises an exception if the panel is inactive or if the panel type is invalid.

Requirements

Requirement Value
Minimum supported client Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header peninputpanel.h
Library InkObj.dll

See also

DefaultPanel Property

IPenInputPanel

PanelType Enumeration

PenInputPanel