RealTimeStylusEnabled Method

IStylusAsyncPlugin.RealTimeStylusEnabled Method

Notifies the implementing plug-in that the RealTimeStylus object is enabled

Namespace:  Microsoft.StylusInput
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

void RealTimeStylusEnabled(
	RealTimeStylus sender,
	RealTimeStylusEnabledData data
)

Parameters

sender
Type: Microsoft.StylusInput.RealTimeStylus

The RealTimeStylus object that sent the notification.

data
Type: Microsoft.StylusInput.PluginData.RealTimeStylusEnabledData

Information about the Microsoft.Ink.Tablet objects associated with this RealTimeStylus object.

This C# example alerts the developer when the plug-in is added to the StylusAsyncPluginCollection collection.

public void RealTimeStylusEnabled(RealTimeStylus sender, RealTimeStylusEnabledData data)
{
  Debug.Assert(false, "RealTimeStylusEnabled",
    "The plug-in has been added to the RealTimeStylusAsyncPluginCollection.");
}

This Microsoft Visual Basic .NET example alerts the developer when the plug-in is added to the StylusAsyncPluginCollection collection.

Public Sub RealTimeStylusEnabled(ByVal sender As RealTimeStylus, ByVal data As RealTimeStylusEnabledData) _
     Implements IStylusAsyncPlugin.RealTimeStylusEnabled
        Debug.Assert(False, "RealTimeStylusEnabled", _
          "The plug-in has been added to the RealTimeStylusAsyncPluginCollection.")
    End Sub 'RealTimeStylusEnabled

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2016 Microsoft