Microsoft DirectX 9.0 SDK Update (October 2004)

Font.OnResetDevice Method

Language:

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

Should be called after the device is reset and before any other methods are called, if Device.IsUsingEventHandlers is set to false.

Definition

Visual Basic .NET Public Sub OnResetDevice()
C# public void OnResetDevice();
Managed C++ public: void OnResetDevice();
JScript .NET public function OnResetDevice();

Remarks

Because Device.IsUsingEventHandlers is set to true by default, it is unnecessary to call Font.OnResetDevice under normal circumstances. However, if at any point Device.IsUsingEventHandlers is set to false, Font.OnResetDevice should be called immediately after the device is reset.


© 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