Applies to: desktop apps only
Gets or sets a value that specifies whether the RealTimeStylus object collects tablet pen data.
This property is read/write.
HRESULT put_Enabled( [in] BOOL fEnable ); HRESULT get_Enabled( [out, retval] BOOL *pfEnable );
TRUE to indicate that the RealTimeStylus object collects pen input; otherwise, FALSE. The default value is TRUE.
For a description of the return values, see RealTimeStylus Classes and Interfaces.
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.
Minimum supported client
|Windows XP Tablet PC Edition|
Minimum supported server
- IRealTimeStylus::AddCustomStylusDataToQueue Method
- IRealTimeStylus::GetStyluses Method
- IRealTimeStylus::GetTabletContextIdFromTablet Method
- IRealTimeStylus::GetTabletFromTabletContextId Method
- RealTimeStylus Class
Build date: 3/6/2012