Carbon


DataBrowserGetContextualMenuProcPtr

Header: ControlDefinitions.h Carbon status: Under Evaluation

typedef void(* DataBrowserGetContextualMenuProcPtr) (
    ControlRef browser, 
    MenuRef *menu, 
    UInt32 *helpType, 
    CFStringRef *helpItemString, 
    AEDesc *selection
);

You would declare your function like this if you were to name it MyDataBrowserGetContextualMenuCallback:

void MyDataBrowserGetContextualMenuCallback (
    ControlRef browser, 
    MenuRef *menu, 
    UInt32 *helpType, 
    CFStringRef *helpItemString, 
    AEDesc *selection
);

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