FrameFullScreen

HC GUI programming Frames FrameFullScreen
FrameIconize FrameSetClientSize

FrameFullScreen aframe state style


command to show the frame aframe fullscreen if state is true. Else the normal layout will be restored.

style can be a combination of the following constants, which indicate what elements of the window to hide in full-screen mode:

wxFULLSCREEN_NOMENUBAR
wxFULLSCREEN_NOTOOLBAR
wxFULLSCREEN_NOSTATUSBAR
wxFULLSCREEN_NOBORDER
wxFULLSCREEN_NOCAPTION
wxFULLSCREEN_ALL (all of the above)

Example:

f=Frame [][MyFrame] wxDefault_Frame_Style [100 200][200 100]
FrameFullScreen f true wxFULLSCREEN_ALL
FrameFullScreen f false 0

Reference:

FrameIconize FrameSetClientSize