AbortRelinquishFocus
TheAbortRelinquishFocusmethod should cancel the request for the frame to relinquish ownership of the specified exclusive focus.
void AbortRelinquishFocus (in ODTypeToken focus, in ODFrame requestingFrame);
focus- A tokenized string representing the focus type that was to be relinquished, expressed as a 32-bit value.
requestingFrame- A reference to a frame that originally requested the focus.
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.OpenDoc calls this method, which in turns calls the
AbortRelinquishFocusmethod of the part that owns the focus. This method should give those focus owners who have indicated willingness to relinquish the focus an opportunity to back out of changes initiated when OpenDoc first called the part'sBeginRelinquishFocusmethod.OVERRIDING
If you subclassODFocusModule, you must override this method. Your override method must not call its inherited method; that is, your override method must implement this method's functionality completely.SEE ALSO
TheODFocusTypetype (page 889).
TheODTypeTokentype (page 877).
TheODFocusModule::BeginRelinquishFocusmethod (page 269).
TheODFocusModule::CommitRelinquishFocusmethod (page 270).
TheODPart::AbortRelinquishFocusmethod (page 475).
TheODPart::BeginRelinquishFocusmethod (page 482).
TheODSession::Tokenizemethod (page 622).
"Creating a Focus Module" on page 448 in OpenDoc Programmer's Guide.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help