Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Some more on popup extensions in NavDialogs



Yaron Tadmor a *crit :

> Hi,
>
> While extending the popup extensions in NavDialogs I ran into some
> problems:
> 1) I can't seem to get rid of the "Default" or "Document" item that
> Carbon pushes in. Is there a way to show only my items?

Make sure the kNavAllFilesInPopup flag is not set in your dialogOptionFlags



>
> 2) When I get an kNavCBPopupMenuSelect select, how can I tell what's my
> item and what's carbon. I noticed that my items are called with 'extn'
> in the NavMenuItemSpec.menuCreator field in
> NavCBRecPtr.eventData.eventDataParms.param.

The name of the selected item is in the "menuItemName" field of your NavMenuItemSpec.


Cheers

Bernard
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Some more on popup extensions in NavDialogs (From: Yaron Tadmor <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.