Share via


PanelType Enumeration

PanelType Enumeration

Defines the type of input currently available in the PenInputPanel object.

Declaration

[C++]

typedef enum PanelType {
    PT_Default = 0,
    PT_Inactive = 1,
    PT_Handwriting = 2,
    PT_Keyboard = 3,
} PanelType;

[Microsoft® Visual Basic® 6.0]

Enum PanelType
    PT_Default = 0
    PT_Inactive = 1
    PT_Handwriting = 2
    PT_Keyboard = 3
End Enum

Members

The following tables list the members exposed by the object.

Name Description
PT_Default Specifies that the PenInputPanel object displays the last panel type used for any pen input panel in any application. If all previous references to the pen input panel have been destroyed in all active applications, a new pen input panel will use the handwriting panel type.
PT_Inactive Specifies that the PenInputPanel object does not accept input. This value is returned by the CurrentPanel property when the panel window is owned by another instance of the PenInputPanel object. This value is also returned if the panel window has not yet been activated.
PT_Handwriting Specifies that the PenInputPanel object displays the default handwriting panel for the current input language.
PT_Keyboard Specifies that the PenInputPanel object displays the default keyboard panel for the current input language.

Remarks

The end user can change the handwriting panel between lined and boxed input modes using buttons on the Tablet PC Input Panel user interface (UI). There is no programmatic way to get or set lined or boxed mode. By default, Western languages use lined input and East Asian languages use boxed input, but the user is free to change between these modes.