WXWINDOWS OpenGL full screen

xiaoxiao2021-03-05  23

Jan Boehme (AiScape@hotmail.com) Problem: OpenGL Fullscreen

Reply:

Casey ODonnell wrote: wxTopLevelWindow wxTopLevelWindow is a common base class for wxDialog and wxFrame It is an abstract base class meaning that you never work with objects of this class directly, but all of its methods are also applicable for the two classes above wxTopLevelWindow..: : showFullScreen bool showFullScreen (bool show, long style = wxFULLSCREEN_ALL) Depending on the value of show parameter the window is either shown full screen or restored to its normal state style is a bit list containing some or all of the following values, 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) This function has not been tested with MDI frames Note that showing a window full screen also actually Show () s if it. Hadn't Been Shown Yet. See Also WxtoplevelWindow :: IsFullscreen

Thanks a Lot, Jan. (Asker thanks)

转载请注明原文地址:https://www.9cbs.com/read-33172.html

New Post(0)