IDLgrWindow::OnResize

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

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.

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