Export (0) Print
Expand All

IRealTimeStylus::Enabled property

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.

Syntax

HRESULT put_Enabled(
  [in]           BOOL fEnable
);

HRESULT get_Enabled(
  [out, retval]  BOOL *pfEnable
);

Property value

TRUE to indicate that the RealTimeStylus object collects pen input; otherwise, FALSE. The default value is TRUE.

Error codes

For a description of the return values, see RealTimeStylus Classes and Interfaces.

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

Minimum supported client

Windows XP Tablet PC Edition

Minimum supported server

None supported

Header

RTSCom.h (also requires RTSCom_i.c)

DLL

RTSCom.dll

See also

IRealTimeStylus
IRealTimeStylus::AddCustomStylusDataToQueue Method
IRealTimeStylus::GetStyluses Method
IRealTimeStylus::GetTabletContextIdFromTablet Method
IRealTimeStylus::GetTabletFromTabletContextId Method
RealTimeStylus Class

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show:
© 2014 Microsoft