IsFocusRegistered
The IsFocusRegistered method returns a Boolean value that indicates whether the specified focus is registered.
ODBoolean IsFocusRegistered (in ODTypeToken focus);
focus- A tokenized string representing the focus type to be tested, expressed as a 32-bit value.
- return value
kODTrueif the specified focus is registered, otherwisekODFalse.DISCUSSION
Thefocusparameter must be the tokenized form of one of the focus constants (kODClipboardFocus,kODKeyFocus,kODMenuFocus,kODModalFocus,kODMouseFocus,kODScrollingFocus, orkODSelectionFocus) or the tokenized form of a part-specific focus type. You can call the session object'sTokenizemethod to obtain a token corresponding to one of these constants.A focus is registered if it has a focus module.
SEE ALSO
TheODFocusTypetype (page 889).
TheODTypeTokentype (page 877).
TheODSession::Tokenizemethod (page 622).