Instance Method

helpRequested:

Displays context-sensitive help for the receiver if help has been registered.

Declaration

- (void)helpRequested:(NSEvent *)eventPtr;

Parameters

eventPtr

An object encapsulating information about the help-request event.

Discussion

NSWindow invokes this method automatically when the user clicks for help and help has been registered using setContextHelp:forObject:. Otherwise, NSWindow passes the message to the next responder. Subclasses are not required to override this method.

See Also

Responding to Other Kinds of Events

- cursorUpdate:

Informs the receiver that the mouse cursor has moved into a cursor rectangle.

- flagsChanged:

Informs the receiver that the user has pressed or released a modifier key (Shift, Control, and so on).

- tabletPoint:

Informs the receiver that a tablet-point event has occurred.

- tabletProximity:

Informs the receiver that a tablet-proximity event has occurred.

- scrollWheel:

Informs the receiver that the mouse’s scroll wheel has moved.

- quickLookWithEvent:

Performs a Quick Look on the content at the location specified by the supplied event.