[Q]: How to get NavS to default to "All Files" in popup?

1 view
Skip to first unread message

Phillip Kavan

unread,
Jul 23, 2003, 1:21:37 AM7/23/03
to
...how do i get Navigation Services to default to the "All Files"
selection in the File Types popup?

--
Phillip Kavan <mailto:kava...@dls.net>

Terje

unread,
Jul 29, 2003, 2:54:56 PM7/29/03
to
In article <pkavan-A8EE2C....@central.isp.giganews.com>,
Phillip Kavan <pka...@dls.net> wrote:

> ...how do i get Navigation Services to default to the "All Files"
> selection in the File Types popup?
>

> Phillip Kavan <mailto:kava...@dls.net>


Here is what I do

I call the function NavGetFile,

where the most important parameters first are seup as follows;


var NtypeList: NavTypeListHandle;

NtypeList:=NavTypeListHandle(NewHandle(sizeof(NavTypeList)));
NtypeList^^.componentsignature:=kNavGenericSignature;
NtypeList^^.osTypecount:=1;
NtypeList^^.osType[0]:="****";

I call it like
Err:= NavGetFile(defaultLocation,Nreply,@dialogOptions,eventProc,
previewProc,filterProc,nil,callBackUD);

Hope this was what you wanted

Terje

Reply all
Reply to author
Forward
0 new messages