Carbon


NavEventData

Header: Navigation.h

The NavEventData structure contains a structure of type NavEventDataInfo; in Navigation Services 1.1 or later, the NavEventData structure also contains a field describing the dialog box item last clicked by the user.

struct NavEventData {
    NavEventDataInfo eventDataParms; 
    SInt16 itemHit;
};

Field descriptions

eventDataParms

A structure of type NavEventDataInfo.

itemHit

A signed integer value. On return, this value represents the item number of the dialog box item last clicked by the user. If the user clicks something other than a valid Navigation Services-generated control item, this value is -1. Use the function NavLibraryVersion to ensure Navigation Services 1.1 or later is installed before you attempt to use this data.

The NavEventData structure contains a structure of type NavEventDataInfo. In Navigation Services 1.1 or later, the NavEventData structure also contains a field describing the dialog box item last clicked by the user.

VERSION NOTES

itemHit field added in Navigation Services 1.1.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)