On 13/10/2008, at 12:38 AM, Benjamin Dobson wrote:

Hi,

In Leopard, pressing ⌘? automatically activates the Help menu. Unfortunately, this means the ⌘? shortcut cannot be assigned to anything else. In my application, the ⌘? shortcut needs to perform a different action to the pre-built one. (It is a full-screen application, help is written on a simple panel.)

How can I rewire the ⌘? shortcut to my showHelp: method? _______________________________________________

Very easy. Just do it in Interface Builder. Select the Help menu item, then in the connections inspector disconnect it from it's default connection and re-assign it, or just simply delete the menu item.

HTH,
Ron_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to