The event is executed after maximizing the engine window through clicking the maximize icon.
The event is executed after minimizing the engine window through clicking the minimize icon.
The event is executed when the size of the application window was changed otherwise, f.i. by restoring from a maximized or minimized state, or by dragging the border.
- The new size of the inner window area can be retrieved through the GetClientRect Windows API function, and can be used for adapting the engine resolution to the new window size.
function on_maximize_event() // adapt the engine resolution to the window size
on_maximize, on_close, on_click, on_mouse_left, on_mouse_stop, on_joy,