Contains
The Contains method returns a Boolean value that indicates whether the specified focus is a member of this focus set.
ODBoolean Contains (in ODTypeToken focus);
focus- A tokenized string representing the focus type to be tested for membership, expressed as a 32-bit value.
- return value
- kODTrue if the specified focus is a member of this focus set, otherwise
kODFalse.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.SEE ALSO
TheODFocusTypetype (page 889).
TheODTypeTokentype (page 877).
TheODSession::Tokenizemethod (page 622).
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help