Extensions are added whenever the save file name is set either at
dialog creation time with the saveFileName field of the
NavDialogCreationOptions structure or at runtime with either the
kNavCtlSetEditFileName custom control message or the
NavDialogSetSaveFileName API. The kNavPreserveSaveFileExtension option
flag can also be set at creation time to make sure the extension, once
set by any of the above methods, is not editable by the user.
On Nov 20, 2007, at 3:39 PM, PageStream Support wrote:
Can someone point me to docs or an example that explains how to
wedge into NavDialogRun to properly append a file extension when
appropriate?
Currently, in the event proc I am catching the kNavCBAccept
NavEventCallbackMessage and getting/modifying/setting the filename.
It works, except that the overwrite condition is checked on the
original filename.
So is there a prior event I should be looking for instead of
kNavCBAccept, or someway to disable and self-implement my own
overwrite message?
I've read the docs and searched for examples but have found nothing
that did this. Thanks for any guidance on the proper way to do this.
Deron
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden