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.
Parameter | Description |
---|---|
w |
The new width of the window, in pixels. |
h |
The new height of the window, in pixels. |