Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: GASPilot::OnCommand
void GASPilot::OnCommand ( CATCommand command,
CATControl ctrl,
CATWindow wnd,
CATSkin skin 
) [virtual]

OnCommand() is called each time a command is received by the application.

Most often, commands will come up from the Skin from controls. Each time a button is clicked or a knob turned, for example.

The commands are a class, primarily containing a command string that the application should check to see if it supports. If so, the command should be performed.

Parameters:
command - the command to execute
ctrl - the control that sent the command, or 0
wnd - the window of the control, or 0
skin - the skin the command came from, or 0

Enumerate process windows

Reimplemented from CATApp.

Definition at line 137 of file GASPilot.cpp.

References CAT_SUCCESS, CATExecute(), CATFAILED, CATSUCCEEDED, CATTRACE, CATSkin::CloseWindow(), CATString::Compare(), CATApp::DisplayMessage(), fCfgWindow, fControllerMenu, fCurBtn, FillInjectWindow(), fInjectWindow, fMapper, fMappingMenu, CATApp::fSkin, fWindow, CATApp::GetAppExePath(), CATXMLObject::GetAttribute(), CATCommand::GetCmdString(), CATString::GetDriveDirectory(), CATString::GetFilenameExt(), CATDLLInjector::GetProcessId(), CATMenu::GetString(), CATCommand::GetStringParam(), CATCommand::GetValue(), CATDLLInjector::InjectIntoProcess(), CATApp::OnCommand(), CATApp::OpenFileDialog(), CATSkin::OpenWindow(), CATRect::Origin(), CATWindow::OSGetWndRect(), SetActiveMapping(), CATWindow::SetEnabled(), StartGame(), GASProtoMapper::StartMapping(), and GASProtoMapper::StopMapping().


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