Difference between revisions of "MainWindow (Chili Framework)"

From Chilipedia
Jump to: navigation, search
(Created page with "Takes care of creating the window and handling the window messages. The message handling involves piping the mouse and keyboard messages to their respective objects. In fact,...")
 
Line 2: Line 2:
  
 
== Members ==
 
== Members ==
 +
 +
== See also ==
 +
* The [[Chili Framework]]

Revision as of 18:26, 13 July 2016

Takes care of creating the window and handling the window messages. The message handling involves piping the mouse and keyboard messages to their respective objects. In fact, MainWindow has eaten Keyboard and Mouse alive, and now they live in its belly. So you need to through MainWindow to get your input done, à la wnd.mouse.Read(). You can also use this class to figure out whether the main window is minimized or if it's out of focus, and you can kill the fat bastard with wnd.Kill().

Members

See also