Mac OS 9
MDEFFindItemData Struct Reference

#include <Menus.h>

Data Fields

MenuTrackingData trackingData
 
void * context
 

Detailed Description

MDEFFindItemData

Summary: The MDEFFindItemData structure contains information needed to determine which item is currently selected by the user. It is used by menu definition functions, which receive a pointer to an MDEFDrawData structure as the whichItem parameter during kMenuFindItemMsg.

Field Documentation

◆ context

void* MDEFFindItemData::context

A CoreGraphics context that the MDEF should draw into if it needs to scroll the menu during the FindItem message. The Menu Manager will flush the context after the MDEF has returned.

◆ trackingData

MenuTrackingData MDEFFindItemData::trackingData

Information about the menu being drawn. The MDEF should fill in the itemSelected, itemUnderMouse, and itemRect fields of this structure after determining which item is at the specified point.


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