Attempts to make a given responder the first responder for the window.
Original signature is '- (BOOL)makeFirstResponder:(NSResponder *)responder'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual bool MakeFirstResponder( NSResponder responder )
Public Overridable Function MakeFirstResponder ( _ responder As NSResponder _ ) As Boolean
public: virtual bool MakeFirstResponder( NSResponder^ responder )
Parameters
- responder (NSResponder)
- The responder to set as the window’s first responder. nil makes the window its first responder.
Return Value
YES when the operation is successful; otherwise, NO.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)