Instance Method

setWindowsNeedUpdate:

Sets whether the receiver’s windows need updating when the receiver has finished processing the current event.

Declaration

- (void)setWindowsNeedUpdate:(BOOL)needUpdate;

Parameters

flag

If YES, the receiver’s windows are updated after an event is processed.

Discussion

This method is especially useful for making sure menus are updated to reflect changes not initiated by user actions, such as messages received from remote objects.

See Also

Updating Windows

- updateWindows

Sends an update message to each onscreen window.