Index

CDTWindow

Event_Resize

virtual void Event_Resize(DT_SLONG w, DT_SLONG h)

This virtual function is called only if the window was opened as a resizable window. The function's w and h parameters indicate the new size of the window, in pixels. This information can then be used to change the dimensions of the memory surface, redraw the pixels and refresh the window. Your application can override this function in your own class in order to process this event.

Parameters

ParameterDescription

w

The new width of the window, in pixels.

h

The new height of the window, in pixels.

 

Index