Important: The information in this document is obsolete and should not be used for new development.
The Pop-Up Menu Private Data Record
You can obtain the menu handle and the menu ID of the menu associated with a pop-up menu by dereferencing thecontrlDatafield of the pop-up menu's control record. ThecontrlDatafield of a control record is a handle to a block of private information. For pop-up menu controls, this field is a handle to a pop-up private data record, which is a data structure of typepopupPrivateData.
TYPE popupPrivateData = RECORD mHandle: MenuHandle; {handle to menu record} mID: Integer; {menu ID} mPrivate: ARRAY[0..0] OF SignedByte; {reserved} END;You can use the standard pop-up control definition function to manage pop-up menus. For information on creating pop-up menus, see "Creating a Pop-Up Menu" beginning on page 5-22. See the chapter "Menu Manager" in this book for additional information.
Field Description
mHandle- Contains a handle to the menu.
mID- The menu ID of the menu.
mPrivate- Reserved.