RegisterIdle
Mac OSThe
RegisterIdlemethod adds the specified part and frame to the list of parts interested in receiving idle time.
void RegisterIdle (in ODPart part, in ODFrame frame, in ODIdleFrequency frequency);
part- A reference to a part that is to receive null events.
frame- A reference to a frame that is to receive null events, or
kODNULLif the part as a whole is to receive idle time.frequency- The idle frequency, expressed in ticks (60ths of a second).
DISCUSSION
Your part typically calls this method, if it needs idle time, when a facet or frame is added.SEE ALSO
TheODIdleFrequencytype (page 892).
TheODDispatcher::SetIdleFrequencymethod (page 123).
TheODDispatcher::UnregisterIdlemethod (page 125).
"Null Events" on page 194 in OpenDoc Programmer's Guide.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help