IDL Programming > Objects > Graphics Object Classes > IDLgrWindow::OnResize

IDLgrWindow::OnResize

Syntax | Arguments | Keywords | Version History

The IDLgrWindow::OnResize procedure method handles notification from the window that a resize event has occurred.

Note: This method is only useful in conjunction with the Export Bridge. By default, the OnResize method will automatically resize the window. If you are using a subclass of IDLgrWindow and require additional functionality, you should override this method. Your method will be automatically called by the Export Bridge. For more information, see "Exporting Drawable Objects"(Chapter 11, IDL Connectivity Bridges in the help/pdf directory of your IDL installation).

Syntax

Obj->[IDLgrWindow::]OnResize, Width, Height

Arguments

Width

A floating-point value representing the new width of the canvas (in device coordinates).

Height

A floating-point value representing the new height of the canvas (in device coordinates).

Keywords

None

Version History

6.3

Introduced