Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATApp::DisplayPrompt
CATResult CATApp::DisplayPrompt ( const CATString message,
CATPROMPTTYPE  prompt,
CATWindow wnd = 0 
) [virtual]

DisplayPrompt() displays a message and retrieves a response from the user.

The user is prompted with a message, and the response from the prompt is returned.

Parameters:
message - message to send to user
prompt - type of prompt to use (see CATPROMPTTYPE)
wnd - parent window of display box (GUI only)
Returns:
CATResult - CAT_STAT_PROMPT_[YES|NO|OK|CANCEL]

Definition at line 306 of file CATApp.cpp.

References CAT_CONSOLE, CAT_STAT_IN_PROGRESS, CAT_STAT_PROMPT_CANCEL, CAT_STAT_PROMPT_NO, CAT_STAT_PROMPT_OK, CAT_STAT_PROMPT_YES, CAT_SUCCESS, CATASSERT, CATPROMPT_OK, CATPROMPT_OKCANCEL, CATPROMPT_YESNO, CATPROMPT_YESNOCANCEL, GetAppName(), and CATWindow::OSGetWnd().

Referenced by CATWindow::DisplayPrompt().


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