Mac OS 9
NavCBRec Struct Reference

#include <Navigation.h>

Data Fields

UInt16 version
 
NavDialogRef context
 
WindowRef window
 
Rect customRect
 
Rect previewRect
 
NavEventData eventData
 
NavUserAction userAction
 
char reserved [218]
 

Detailed Description

NavCBRec

Summary: A structure passed to event and preview callbacks

Discussion: The NavCBRec structure is passed to the client's event proc or custom preview proc. It provides information that is specific to each event type. New for Carbon: the userAction field.

Field Documentation

◆ context

NavDialogRef NavCBRec::context

The NavDialogRef this callback with which this call is associated

◆ customRect

Rect NavCBRec::customRect

The custom control area rectangle (window coordinates)

◆ eventData

NavEventData NavCBRec::eventData

The event-specific data, including the EventRecord, if any

◆ previewRect

Rect NavCBRec::previewRect

The custom preview area rectangle (window coordinates)

◆ reserved

char NavCBRec::reserved[218]

Reserved for future use

◆ userAction

NavUserAction NavCBRec::userAction

The action taken by the user that generated a kNavCBUserAction event (Carbon dialogs only)

◆ version

UInt16 NavCBRec::version

The version of the struct (currently 1)

◆ window

WindowRef NavCBRec::window

The dialog's window


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