Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
Concordia
Last Revision: | Version 1.0, 2003-08-28 First Version |
Build Requirements: | |
Runtime Requirements: | Carbon |
Concordia is a menu definition procedure (MDEF) that replaces the standard text MDEF (MDEF 0). It does everything that the standard MDEF does except color and displaying small icon resources (sicns). It will display the shrunken icons that MultiFinder uses. The main differences between my MDEF and the standard MDEF is that it has proportional menu scrolling, scrolling arrows that appear quite differently from the standard ones, more consistent spacing between menu items and the edges of the menu, and the arrow icons are stored as resources rather than being hard-coded into the MDEF. Proportional scrolling means that the farther you drag the mouse into the scroll arrow of the menu, the faster the menu scrolls. If you have the mouse only one pixel into the scroll arrow, the menu will only scroll one pixel at a time. You'll have to paste the sicn resources for the arrow icons into the System file for the sample MDEF to find them. You can use this as a basis for your own replacement to the standard MDEF in case you need just a bit more functionality than the standard MDEF provides. Keywords: MDEF, proportional, scrolling
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-08-28