Documentation Archive Developer
Search

ADC Home > Reference Library > Technical Q&As > Legacy Documents > Mac OS 9 & Earlier >

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:

Desk Accessory Menus


Q: How do I detect that a menu belongs to a Desk Accessory (DA)?

A: Wow! Your app still supports desk accessories? What a trooper you are. You can detect that a menu belongs to a DA by checking its menu ID; if the ID is less than 0, it belongs to a DA (or other driver).

Further Reference:

Inside Macintosh: Menu Manager
Inside Macintosh: Device Manager

[Dec 22 1998]