Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATControl::FilterGUIString
CATString CATControl::FilterGUIString ( const CATString unfiltered  )  [static]

Platform-specific call to filter a string prior to it being used in the GUI. For Windows, it doubles the '&' symbol to prevent unwanted menu/label mnemonics.

Utility func to filter '&'s and make them appear in menus instead of becoming menu mnemonics.

Definition at line 981 of file CATControl.cpp.

References CATString::Find(), CATString::GetWChar(), and CATString::LengthCalc().

Referenced by CATListBox::OSOnDrawItem(), CATListBox::OSOnMeasureItem(), and CATWindow::PostDrawText().


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