Mac OS 9
MDEFDrawItemsData Struct Reference

#include <Menus.h>

Data Fields

MenuItemIndex firstItem
 
MenuItemIndex lastItem
 
MenuTrackingDatatrackingData
 
void * context
 

Detailed Description

MDEFDrawItemsData

Summary: The MDEFDrawItemsData structure contains information about which menu items to redraw. It is used by menu definition functions, which receive a pointer to an MDEFDrawItemsData structure as the whichItem parameter during kMenuDrawItemsMsg.

Field Documentation

◆ context

void* MDEFDrawItemsData::context

A CoreGraphics context that the MDEF should draw into. The Menu Manager will flush the context after the MDEF returns.

◆ firstItem

MenuItemIndex MDEFDrawItemsData::firstItem

The first item to draw.

◆ lastItem

MenuItemIndex MDEFDrawItemsData::lastItem

The last item to draw.

◆ trackingData

MenuTrackingData* MDEFDrawItemsData::trackingData

Information about the menu's tracking state. The virtualMenuTop and virtualMenuBottom fields in this structure will be the most useful in handling the DrawItems message.


The documentation for this struct was generated from the following file: