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



On 5/15/03 11:50 AM, Yaron Tadmor didst favor us with:

> 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?

The solution is to use kNavGenericSignature ('****') as the third
argument to NavCreatePutFileDialog() (that's the argument for the
creator code, not the type code). This gets rid of the top "default"
item in the Format menu.

Navigation Services Reference doesn't mention this crucial secret in
its description of NavCreatePutFileDialog() on page 18, but it does
mention it on page 100 where kNavGenericSignature is described.

Larry
_______________________________________________
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.