Processes a command generated by user action such as typing certain keys or pressing the mouse button.
Original signature is '- (BOOL)didCommandBySelector:(SEL)aSelector client:(id)sender'
Available in Mac OS X v10.5 and later.


- aSelector (IntPtr)
- The action associated with the key down event. The selector can be an action specified in the input method dictionary of keys and actions (that is, an action specific to the input method) or one of the NSResponder action methods such as insertNewline: or deleteBackward:. By definition such action methods do not return a value.
- sender (Id)
- The client object sending the key down event.

YES if the command is handled; NO if the command is not handled. If not handled, the event passes to the client.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)