Partager via


TabletHardwareCapabilities Enumeration

TabletHardwareCapabilities Enumeration

Defines values that specify the hardware capabilities of the Tablet PC.

Declaration

[C++]

typedef enum TabletHardwareCapabilities {
    THWC_Integrated = 1,
    THWC_CursorMustTouch = 2,
    THWC_HardProximity = 4,
    THWC_CursorsHavePhysicalIds = 8
} TabletHardwareCapabilities;

[Microsoft® Visual Basic® 6.0]

Enum TabletHardwareCapabilities
    THWC_Integrated = 1
    THWC_CursorMustTouch = 2
    THWC_HardProximity = 4
    THWC_CursorsHavePhysicalIds = 8
End Enum

Members

The following tables list the enumeration values.

Name Description
Integrated Indicates the digitizer is integrated with the display.
CursorMustTouch Indicates the cursor must be in physical contact with the device to report position.
HardProximity Indicates the device can generate in-air packets when the cursor is in the physical detection range (proximity) of the device.
CursorsHavePhysicalIds Indicates the device can uniquely identify the active cursor.

Remarks

In C++, explicit casting is required when trying to set more than one flag at a time. A compilation error occurs if explicit casting is not used.

The value is 0 if the tablet device cannot provide this information.

This enumeration is a flag.