[MD1] Mercutio MDEF
TweetFollow Us on Twitter

[MD1] Mercutio MDEF

The Mercutio MDEF is a Menu DEFinition resource that allow developers to easily
and elegantly extend the power of their application menus. These MDEFs allow
menus to have multiple-modifier key-equivalents (e.g. shift-command-C),
custom icons, item callbacks, and other goodies.

Changes in version 1.3.3:

- Fixed several serious visual glitches under Kaleidoscope.
- Fixed documentation to reflect new codes for arrow keys. This change was
made in the 1.3 release but wasn't shown in the documentation.

Changes in version 1.3.2:

- Fixed sample code to correct react to key equivalents in hierarchical
- Added ksameAlternateAsLastTime and kdontDisposeIcon constants to
.h API file. Those flags functioned correctly but were misnamed.
- Fixed memory leak when scrolling icon suites.
- Fixed cosmetic glitches when using non-standard System fonts (e.g with
- Fixed bug in C sample code for dynamic items.
- Changed some of the color icons in the sample application.

Changes in version 1.3.1:

- Fixed Pascal API bug that gave crash under non GENERATECFM situations.
- Fixed crash bug that could occur under certain memory move situations.
- Fixed refresh bug when scrolling very long popup menus without
Balloon Help items but with Balloon Help turned on.
- Updated C sample code to support key equivalents in popup menus.
- Miscellaneous typo corrections in documentations.
- Smaller release package (e.g. removed binaries from sample projects)

Mercutio features include:

- Support for all 4 modifier keys (command, shift, option, control)
- Support for non-printing keys (function keys, page up/down,
arrow keys, etc)
- Graphic icons for non-printing keys: non-printing key equivalents
such as page up/ down, home/help, etc. can be drawn as text or
as icons that look like the keys on the extended keyboard.
- Dynamic items: items whose contents change depending on what
modifier keys are being held down (e.g. when the option key is
held down, Save becomes Save All).
- Application callback routine to let you decide on the fly what
the item contents should be.
- Support for icon suites, small and large icons, and SICNs in
hierarchical menu items.
- Support for window font/size: Mercutio now correctly draws popup menus
in the current font and size. This means you can use Mercutio for
Geneva 9-pt popup menus and the like.
- Support for WorldScript. Mercutio now supports menus in non-western
scripts (Japanese, Arabian, etc), and correctly draws under
right-to-left system text alignment.
- User-definable style mapping: developer determines which style
bits are used as feature flags
- System 7's Balloon Help and True Gray.
- Color menus.
- 99% compatible with standard MDEF.

The Mercutio MDEF works under System 6.0.4 or later, with or without
Color QuickDraw. Mercutio is fully compatible with System 7, and supports
all the features of the System MDEF. Integrating the MDEF into your program
shouldn't take more than 15 minutes.

The documentation for Mercutio follows the style of Apple's Inside Macintosh
manuals, and is in Adobe's Acrobat format.

Developers may use Mercutio free of charge as long as they give me
credit in the About box and documentation, and send me a copy of the
final program (including future upgrades for as long as they use
the MDEF.) See "Mercutio Software License.pdf" for details on terms of use.
Other licensing terms are available.

Web Site & Announcements
Mercutio now has a web site:


To receive announcements about future versions Mercutio, please send e-mail to
"majordomo@lists.stanford.edu" with "subscribe mercutio-news" in the body (not
subject) of the message.

Mercutio is copyright (c) 1992-1996 by Ramon M. Felciano

Ramon Felciano
Digital Alchemy

Ramon M. Felciano | voice: (415) 725-3398
Section on Medical Informatics | felciano@camis.stanford.edu


Community Search:
MacTech Search:

Software Updates via MacUpdate

World of Tanks Generals guide - Tips and...
World of Tanks Generals is a brand new card game by the developer behind the World of Tanks shooter franchise. It plays like a cross between chess and your typical card game. You have to keep in consideration where you place your tanks on the board... | Read more »
TruckSimulation 16 guide: How to succeed...
Remember those strangely enjoyable truck missions in Grand Theft Auto V whereit was a disturbing amount of fun to deliver cargo? TruckSimulation 16 is reminiscent of that, and has you play the role of a truck driver who has to deliver various... | Read more »
The best GIF making apps
Animated GIFs have exploded in popularity recently which is likely thanks to a combination of Tumblr, our shorter attention spans, and the simple fact they’re a lot of fun. [Read more] | Read more »
The best remote desktop apps for iOS
We've been sifting through the App Store to find the best ways to do computer tasks on a tablet. That gave us a thought - what if we could just do computer tasks from our tablets? Here's a list of the best remote desktop apps to help you use your... | Read more »
Warhammer 40,000: Freeblade guide - How...
Warhammer 40,000: Freebladejust launched in the App Store and it lets you live your childhood dream of blowing up and slashing a bunch of enemies as a massive, hulking Space Marine. It's not easy being a Space Marine though - and particularly if... | Read more »
Gopogo guide - How to bounce like the be...
Nitrome just launched a new game and, as to be expected, it's a lot of addictive fun. It's called Gopogo, and it challenges you to hoparound a bunch of platforms, avoiding enemies and picking up shiny stuff. It's not easy though - just like the... | Read more »
Sago Mini Superhero (Education)
Sago Mini Superhero 1.0 Device: iOS Universal Category: Education Price: $2.99, Version: 1.0 (iTunes) Description: KAPOW! Jack the rabbit bursts into the sky as the Sago Mini Superhero! Fly with Jack as he lifts impossible weights,... | Read more »
Star Wars: Galaxy of Heroes guide - How...
Star Wars: Galaxy of Heroes is all about collecting heroes, powering them up, and using them together to defeat your foes. It's pretty straightforward stuff for the most part, but increasing your characters' stats can be a bit confusing because it... | Read more »
The best cooking apps (just in time for...
It’s that time of year again, where you’ll be gathering around the dinner table with your family and a huge feast in front of you. [Read more] | Read more »
Square Rave guide - How to grab those te...
Square Rave is an awesome little music-oriented puzzle game that smacks of games like Lumines, but with its own unique sense of gameplay. To help wrap your head around the game, keep the following tips and tricks in mind. [Read more] | Read more »

Price Scanner via MacPrices.net

Cyber Monday: Target offers 15% discount on A...
Target has discounted Apple Watches by 15% for Cyber Monday. Choose free shipping or free local store pickup (if available). Sale prices for online orders only, in-store prices may vary: - Apple... Read more
Sunday roundup of Holiday weekend Mac sales:...
Take up to $500 off MSRP on the price of a new Mac at B&H Photo today as part of their Black Friday/Holiday weekend sale. Shipping is free, and B&H charges NY tax only. These prices are... Read more
Holiday weekend: Apple Watch on sale for $50-...
B&H Photo has the Apple Watch on sale today for $50-$100 off MSRP. Shipping is free, and B&H charges NY sales tax only: - Apple Watch Sport: $50 off - Apple Watch: $50-$100 off Read more
Holiday weekend: iPad Air 2s on sale for up t...
B&H Photo has iPad Air 2s on sale for up to $80 off MSRP including free shipping plus NY sales tax only: - 16GB iPad Air 2 WiFi: $459 $40 off - 64GB iPad Air 2 WiFi: $569 $30 off - 128GB iPad Air... Read more
Holiday weekend Mac sales roundup: B&H Ph...
B&H Photo continues to have all new Macs on sale for up to $500 off MSRP as part of their Black Friday/Holiday weekend sale. Shipping is free, and B&H charges NY tax only: - 15″ 2.2GHz Retina... Read more
iMobie Releases its Ace iOS Cleaner PhoneClea...
iMobie Inc. has announced the new update of PhoneClean 4, its iOS cleaner designed to reclaim wasted space on iPhone/iPad for use and keep the device fast. Alongside, iMobie hosts a 3-day giveaway of... Read more
U.S. Cellular Offering iPad Pro
U.S. Cellular today announced that it is offering the new iPad Pro with Wi-Fi + Cellular, featuring a 12.9-inch Retina display with 5.6 million pixels — the most ever in an iOS device. U.S. Cellular... Read more
Newegg Canada Unveils Black Friday Deals for...
Newegg Canada is offering more than 1,000 deep discounts to Canadian customers this Black Friday, available now through Cyber Monday, with new deals posted throughout the week. “Black Friday is... Read more
Black Friday: Macs on sale for up to $500 off...
BLACK FRIDAY B&H Photo has all new Macs on sale for up to $500 off MSRP as part of their early Black Friday sale including free shipping plus NY sales tax only: - 15″ 2.2GHz Retina MacBook Pro: $... Read more
Black Friday: Up to $125 off iPad Air 2s at B...
BLACK FRIDAY Walmart has the 16GB iPad Air 2 WiFi on sale for $100 off MSRP on their online store. Choose free shipping or free local store pickup (if available): - 16GB iPad Air 2 WiFi: $399, save $... Read more

Jobs Board

Technical Program Manager, Strategic Merchant...
# Technical Program Manager, Strategic Merchants - Apple Pay Job Number: 44001177 Santa Clara Valley, Califo ia, United States Posted: Oct. 30, 2015 Weekly Hours: 40.00 Read more
Frameworks Engineer, *Apple* Watch - Apple...
# Frameworks Engineer, Apple Watch Job Number: 41403122 Santa Clara Valley, Califo ia, United States Posted: Jul. 1, 2015 Weekly Hours: 40.00 **Job Summary** Join the Read more
Software Engineer - *Apple* Pay - Apple (Un...
# Software Engineer - Apple Pay Job Number: 44003246 Santa Clara Valley, Califo ia, United States Posted: Nov. 16, 2015 Weekly Hours: 40.00 **Job Summary** Apple Pay Read more
Merchant Operations Manager: *Apple* Pay -...
# Merchant Operations Manager: Apple Pay Job Number: 43593822 Santa Clara Valley, Califo ia, United States Posted: Nov. 10, 2015 Weekly Hours: 40.00 **Job Summary** The Read more
Product Design Engineer - *Apple* Watch - A...
# Product Design Engineer - Apple Watch Job Number: 41727161 Santa Clara Valley, Califo ia, United States Posted: Jul. 22, 2015 Weekly Hours: 40.00 **Job Summary** Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.