How can I tell if the user has specifically clicked on the panels MinMaxButton?
The OnResize is fired often.
and the OnMaximize also triggers if the panel has been maximised in code.
At the moment I want the panel to auto maximise or minimise depending on the content within the panel. However, if the user specifies that they want to keep the panel open (by clicking the MinMaxButton) then that should override the standard behaviour.