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
)
void RealTimeStylusEnabled (
	RealTimeStylus sender, 
	RealTimeStylusEnabledData data
)
function RealTimeStylusEnabled (
	sender : RealTimeStylus, 
	data : RealTimeStylusEnabledData
)
Not applicable.

Parameters

sender

The RealTimeStylus object that sent the notification.

data

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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show: