Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATWindow::IsPrimary
bool CATWindow::IsPrimary (  )  [virtual]

IsPrimary() returns true if the window is the primary application window.

This is mainly used to tell if the program should exit when the App received notification that a window was destroyed. If the window was the primary window, then the app should generally exit.

Returns:
bool - true if the window is the Primary window.

Definition at line 841 of file CATWindow.cpp.

References fPrimary.

Referenced by CATApp::OnEvent().


Generated on Mon Feb 11 04:11:16 2008 for Game Accessibility Suite by doxygen 1.5.4