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 event NSApplication..::..ApplicationDelegateHandlesKeyEventHandler ApplicationDelegateHandlesKey
Public Event ApplicationDelegateHandlesKey As NSApplication..::..ApplicationDelegateHandlesKeyEventHandler
public: event NSApplication..::..ApplicationDelegateHandlesKeyEventHandler^ ApplicationDelegateHandlesKey { void add (NSApplication..::..ApplicationDelegateHandlesKeyEventHandler^ value); void remove (NSApplication..::..ApplicationDelegateHandlesKeyEventHandler^ value); }
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)