Microsoft DirectX 9.0 SDK Update (October 2004)

Framework.SetKeyboardCallback Method

Language:

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

Sets the keyboard event callback function.

Definition

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

Parameters

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

Remarks

If the callback parameter is set to null, the sample framework will not notify the application about keyboard 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