HCmdButtonAttachment is a Metrowerks PowerPlant–inherited class that gives controls (LControls) a command-key equivalent. This allows for more keyboard navigation. For example, the traditional Save Before Closing dialog box asks you to select Save, Cancel, or Don't Save. On the keyboard, Save is typically the default key (Enter), and Cancel the cancel key (Esc), but there is no way to hit Don't Save from the keyboard. With HCmdButtonAttachment, you can give any LControl a command-key shortcut. Specify a key that will be the first letter/character of the control's descriptor, or make it a key of your own arbitrary specification. You can also make the title of the control change to display the shortcut after a user-configurable amount of time.
File Size179.5 kB
Operating System Macintosh


You have been successfully signed up. To sign up for more newsletters or to manage your account, visit the Newsletter Subscription Center.
See All
See All