Info-Mac Archive Downloads: dev/src/ SourceCode

Back to dev/src/ SourceCode

PopupCDEF-10b5.hqx (popup-cdef-10b5-c.hqx)

Download popup-cdef-10b5-c.hqx (167,043 KB)


From: ari@world.std.com (Ari I Halberstadt)
Subject: PopupCDEF-10b5.hqx
Date: Thu, 8 Dec 1994 14:59:40 -0500 (EST)

This is version 1.0b5 of Popup CDEF. It now works with color graphics
ports and supports color menus and control color tables.

This CDEF implements a popup menu control. The CDEF handles display of
the menu's title, the current selection, the one pixel drop shadow, and
the triangle at the end of the menu. It also handles tracking of the
mouse and checking and unchecking of the current item. It is compatible
with systems 6.0.5 and 7.0.

The CDEF is modeled after the popup CDEF provided by Apple in System 7.0
and described in "Inside Macintosh: Toolbox Essentials1. If you are
already familiar with the system CDEF then using this CDEF will be very
simple. Additional support is provided for type-in popup menus, for
menus created dynamically by the application, and for color menus and
controls.

This program is free, and can be used subject to the terms detailed in
the file "Distribution". all source code in C and a THINK C v7.0 project
file are included.