Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATComboBox::OnCommand
void CATComboBox::OnCommand ( CATCommand command,
CATControl ctrl 
) [virtual]

OnCommand() is called by child controls when they are pressed / changed.

Each clickable control has an XML-scripted command string and parameter, as well as the control's value. By default, commands are sent from the control to its parent, then up to the window's parent skin, and from there to the application.

Parameters:
command - the command
ctrl - the control that sent it, or 0.

Reimplemented from CATGuiObj.

Definition at line 110 of file CATComboBox.cpp.

References AddComboString(), fComboEdit, fComboMenu, CATXMLObject::fParent, CATControl::GetCommand(), CATCommand::GetStringParam(), CATGuiObj::OnCommand(), and CATEditBox::SetString().


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