To iterate through the contents of a particular virtual keyboard, use the TKeyMapRuleIterator class. TKeyMapRuleIterator iterates through the individual mapping rules contained by a TStandardEditableVirtualKeyboard.
TKeyMapRuleIterator returns each mapping rule as an instance of TKeyResultPair. TKeyResultPair contains:
TKeyResultPair provides access functions that let you retrieve any of this information.
To iterate through keyboard mapping rules:
- Instantiate a TStandardEditableVirtualKeyboard for the virtual keyboard you want to iterate through.
- Call the TStandardEditableVirtualKeyboard::CreateIterator member function to create an iterator for that keyboard.
- Call the iterator's First member function to initialize the iterator and return the first rule.
- Use the iterator's Next member function to iterate through the remaining rules.
[Contents]
[Previous]
[Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.
Generated with WebMaker