Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATSkin::CloseWindow
CATResult CATSkin::CloseWindow ( const CATString wndName  )  [virtual]

CloseWindow() closes the window from the skin by name.

Parameters:
wndName - name of window to close
Returns:
CATResult - CAT_SUCCESS on success.
Returns an error if the window is not open (CAT_ERR_SKIN_WINDOW_NOT_OPEN) Or CAT_ERR_SKIN_WINDOW_NOT_FOUND if the window does not exist.

Definition at line 417 of file CATSkin.cpp.

References CAT_ERR_SKIN_WINDOW_NOT_FOUND, CAT_ERR_SKIN_WINDOW_NOT_OPEN, CAT_SUCCESS, CATRESULT, GetWindowByName(), CATWindow::Hide(), and CATWindow::IsVisible().

Referenced by GASPilot::OnCommand().


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