Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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(
MouseCallback^ callback
);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.