Type: info
Title: ::vcl::MnemonicEngine
Posted by: [EMAIL PROTECTED]
Affected: -
Effective from: CWS sdblogging
*Summary*
--------
+ <vcl/mnemonicengine.hxx>
+ ::vcl::IMnemonicEntryList
+ ::vcl::MnemonicEngine
*Description*
-------------
A MnemonicEngine is able to handle mnemonic shortcuts in a list of
(string) entries. That is, if you have a list of strings, each with a
mnemonic character, you implement the IMnemonicEntryList interface,
and forward your key events to MnemonicEngine::HandleKeyEvent.
If a key event denotes a mnemonic key being pressed, the respective
entry is "selected" (using IMnemonicEntryList::SelectSearchEntry) if
the key is not unique with the list, and "executed" (using
IMnemonicEntryList::ExecuteSearchEntry) if it *is* unique.
While this class is currently not used in standard implementations
such as menus, but in SVTOOlS classes only, /me thinks it mirrors the
usual mnemonics handling so that it in fact *could* replace existing
implementations ...
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]