IRealTimeStylus::put_Enabled method (rtscom.h)

Gets or sets a value that specifies whether the RealTimeStylus object collects tablet pen data.

This property is read/write.

Syntax

HRESULT put_Enabled(
  BOOL fEnable
);

Parameters

fEnable

Return value

None

Remarks

Multiple RealTimeStylus objects can exist on the same window provided they are not enabled with overlapping window input rectangles. Enabled RealTimeStylus objects on the same window with overlapping input rectangles result in undetermined behavior.

Note  An overlap can occur without an error if only one of the input rectangles is enabled at any one time.
 
A child RealTimeStylus object must be connected to be enabled.

Although a RealTimeStylus object can be enabled when it has no plug-ins attached to it, it must have at least one plug-in to be useful.

You receive no events when an object is not enabled.

When the IRealTimeStylus::Enabled Property of a container control is set to false, all of its contained controls are also disabled.

Requirements

Requirement Value
Minimum supported client Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header rtscom.h
DLL RTSCom.dll

See also

IRealTimeStylus

IRealTimeStylus::AddCustomStylusDataToQueue Method

IRealTimeStylus::GetStyluses Method

IRealTimeStylus::GetTabletContextIdFromTablet Method

IRealTimeStylus::GetTabletFromTabletContextId Method

RealTimeStylus Class