Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.0

Posted: 2003-08-28

Build Requirements: N/A

Runtime Requirements: Carbon

View Source Code:

Download Sample (“Concordia.zip”, 35.8K)
Download Sample (“Concordia.dmg”, 94.2K)



Description

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

Document Revision History

Date Notes
2003-08-28First Version

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.