on_maximize

The event is executed after maximizing the engine window through clicking the maximize icon. A7.80

on_minimize

The event is executed after minimizing the engine window through clicking the minimize icon. A7.80

on_resize

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. A7.80

Remarks:

Example:

#include <windows.h>
...
function on_maximize_event() // adapt the engine resolution to the window size
{
   RECT r;
   GetClientRect(hWnd,&r); 
   video_set(r.right,r.bottom,0,0); 
}

See also:

on_maximize, on_close, on_click, on_mouse_left, on_mouse_stop, on_joy, on_f1, on_anykey

► latest version online