Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATControl::OnKeyUp
void CATControl::OnKeyUp ( const CATKeystroke keystroke  )  [virtual]

OnKeyUp() is called when a key is released and the control has focus.

The key may be a standard key, or it may be one of the special keys - see CATKeystroke.h for details.

For most keys, you'll want to trap them in OnKeyDown() instead. However, for certain keys such as SPACE that may be mapped to work like mouse buttons and the like, this is synonymous to the TrackMouseRelease() function.

Parameters:
keystroke - the key that was pressed
See also:
OnKeyDown(), OnKeyPress()

Definition at line 855 of file CATControl.cpp.

References fActive, fPressed, CATKeystroke::GetNormalKey(), CATWidget::MarkDirty(), and OnMouseClick().

Referenced by CATWindow::OnKeyUp().


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