Sent by Cocoa’s built-in scripting support during execution of get or set script commands to find out if the delegate can handle operations on the specified key-value key.
Original signature is '- (BOOL)application:(NSApplication *)sender delegateHandlesKey:(NSString *)key'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public bool ApplicationDelegateHandlesKeyMessage( NSApplication sender, NSString key )
Public Function ApplicationDelegateHandlesKeyMessage ( _ sender As NSApplication, _ key As NSString _ ) As Boolean
public: bool ApplicationDelegateHandlesKeyMessage( NSApplication^ sender, NSString^ key )
Parameters
- sender (NSApplication)
- The application object associated with the delegate.
- key (NSString)
- The key to be handled.
Return Value
YES if your delegate handles the key or NO if it does not.
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)