Framework.SetMouseCallback Method

Language:

Sets the mouse event callback function.

Definition

Visual Basic Public Sub SetMouseCallback( _
    ByVal callback As MouseCallback _
)
C# public void SetMouseCallback(
    MouseCallback callback
);
C++ public:
void SetMouseCallback(
    MouseCallbackcallback
);
JScript 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.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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