Instance Method

resignKeyWindow

Invoked automatically when the window resigns key window status; never invoke this method directly.

Declaration

- (void)resignKeyWindow;

Discussion

This method sends resignKeyWindow to the window’s first responder, sends windowDidResignKey: to the window’s delegate, and posts an NSWindowDidResignKeyNotification to the default notification center.

See Also

Managing Key Status

keyWindow

A Boolean value that indicates whether the window is the key window for the application.

canBecomeKeyWindow

A Boolean value that indicates whether the window can become the key window.

- makeKeyWindow

Makes the window the key window.

- makeKeyAndOrderFront:

Moves the window to the front of the screen list, within its level, and makes it the key window; that is, it shows the window.

- becomeKeyWindow

Invoked automatically to inform the window that it has become the key window; never invoke this method directly.