Window Minimise / Maximise - Detection?

BlitzMax Forums/BlitzMax Programming/Window Minimise / Maximise - Detection?

Does anyone know of a way to detect whether a window has been Maximised, Restored Down, or Minimised, that will work in both Windows and Mac environemtns?

AppSuspended should work in most cases.

MaxGUI uses the EventIDs, EVENT_WINDOWSIZE and EVENT_APPSUSPEND, Events>BRL.Event.

Also there are the functions WindowMinimized and WindowMaximized, MaxGUI>MaxGUI.