Re: Navigation services popup menu



In article <210920052109077228%nothere@xxxxxxxxxxx>, Phil Taylor
<nothere@xxxxxxxxxxx> wrote:

>
> Now I can see how to populate the popup menu in NavPutFile, but what I
> can't see is how to retrieve the user's choice of filetype after the OK
> button has been pressed.

To answer my own question (in case anybody's interested), it's done in
the eventproc. Look for a callBackSelector of type
kNavCBPopupMenuSelect. Then look at the what and when fields of the
eventrecord obtained from
callBackParms^.eventData.eventDataParms.event^. These contain the type
and creator OSTypes from the list which you supplied in the
popupExtension of NavDialogOptions.

Doncha just love Navigation Services?

Phil Taylor
.