Microsoft DirectX 9.0 SDK Update (October 2004)

Device.DeviceResizing Event

Language:

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

Occurs when a device is resizing, allowing the application to cancel the default handling of the resize.

Definition

Visual Basic .NET Public Event DeviceResizing As CancelEventHandler
C# public event CancelEventHandler DeviceResizing;
Managed C++ public: __event CancelEventHandler DeviceResizing;
JScript .NET In JScript .NET, you can use events, but you cannot define your own.

Remarks

To add an event handler that listens for a Device.DeviceResizing event, use the following C# code.

[C#]
device.DeviceResizing += new System.CancelEventHandler(this.DeviceResizingEventHandler);

See Also


© 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