UnregisterFocus
The UnregisterFocus method removes the association between the specified focus and the focus module that manages it.
void UnregisterFocus (in ODTypeToken focus);
focus
- A tokenized string representing the focus type to be removed, expressed as a 32-bit value.
DISCUSSION
The focus parameter must be the tokenized form of one of the focus constants (kODClipboardFocus, kODKeyFocus, kODMenuFocus, kODModalFocus, kODMouseFocus, kODScrollingFocus, or kODSelectionFocus) or the tokenized form of a part-specific focus type. You can call the session object's Tokenize method to obtain a token corresponding to one of these constants.
EXCEPTIONS
kODErrFocusNotRegistered
- The specified focus is not registered.
SEE ALSO
The ODFocusType type (page 889).
The ODTypeToken type (page 877).
The ODSession::Tokenize method (page 622).
"Creating a Focus Module" on page 448 in OpenDoc Programmer's Guide.