Home
hsoi.com
hsoi.net
hsoi.org

Hsoi's Shop
Hsoi's Shop Home
Hsoi's Resume
News
Software
PowerPlant
WASTE
Other stuff
Programming Links
From the WorkShop

Links
Hsoi's Shop
Mac OS MUD Zone
Hsoi's Resume

Site Info
Legal Stuff
Built By
Contact Information
Email Webmaster
 

Hsoi's Shop: PowerPlant Classes: HCmdButtonAttachment

  • HCmdButtonAttachment
    Current Version: 1.2.1 released 31 January 1998
    Price: freeware, see source/documentation for complete information
    Download(136K)

    A Metrowerks PowerPlant inherited class that gives controls (LControls) a command-key equivalent. This allows for enhanced keyboard navigation. For example, the traditional "Save before closing?" dialog asks to "Save", "Cancel" or "Don't Save". Save is typically the default key (return) and Cancel the cancel (escape), but there is no keyboard way to hit Don't Save. Enter HCmdButtonAttachment. Make it cmd-D!

    With HCmdButtonAttachment, you can give (almost) any LControl a command-key shortcut. ou can specify the key to be the first letter/character of the control's descriptor or it can be a character of your own arbitrary specification. You can also have the title of the control change to display the shortcut or not, and do so after a user-configurable amount of time.

    This archive includes the HCmdButtonAttachment sources, a custom CTYP file for use with Constructor 2.4 or later, and an example application to demonstrate the class.

 

 


These pages copyright ©1999-2003 John C. Daub. All rights reserved.
Click here for legal mumbo jumbo.

Page Created: 29 December 1999
Last Modified: 27 December 2002