Can any body tell me how to make the application full screen when clicked on the maximize button ?
Is think there is no platform-independent way of receiving system menu events, so you will have to reimplement the change event and modify the window state accordingly.
Brain to terminal. Not tested. Exemplary.
- you are tinkering with default behaviour here; the user usually does not expect that a window goes into fullscreen when the maximize button is clicked
- a fullscreen window has no system menu; you will have to provide other means to return from fullscreen, otherwise you are trapped in it