Framework.SetKeyboardCallback Method

Language:

Sets the keyboard event callback function.

Definition

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


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