Microsoft DirectX 9.0 SDK Update (October 2004)

Framework.SetMouseCallback Method

Language:

Note: This documentation is preliminary and is subject to change.

Sets the mouse event callback function.

Definition

Visual Basic .NET Public Sub SetMouseCallback( _
    ByVal callback As MouseCallback _
)
C# public void SetMouseCallback(
    MouseCallback callback
);
Managed C++ public: void SetMouseCallback(
    MouseCallback *callback
);
JScript .NET public function SetMouseCallback(
    callback : MouseCallback
);

Parameters

callback Microsoft.Samples.DirectX.UtilityToolkit.MouseCallback. The MouseCallback delegate the sample framework will use.

Remarks

If the callback parameter is set to null, the sample framework will not notify the application about mouse events.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center