CurrentPanel Property

PenInputPanel.CurrentPanel property

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(
  [in]          PanelType CurrentPanel
);

HRESULT get_CurrentPanel(
  [out, retval] PanelType *CurrentPanel
);

Property value

The panel type to use for input within the PenInputPanel object. The Handwriting panel type is the default value.

Error codes

NameMeaning
S_OK

Success. The parameter contains the currently active panel.

E_FAIL

An unspecified error occurred.

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

Minimum supported client

Windows XP Tablet PC Edition [desktop apps only]

Minimum supported server

None supported

Header

Msinkaut.h (also requires Msinkaut_i.c)

Library

InkObj.dll

See also

PenInputPanel
DefaultPanel Property
PanelType Enumeration

 

 

Community Additions

ADD
Show:
© 2016 Microsoft