Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / July 2003



Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Phillip Kavan - 23 Jul 2003 06:21 GMT
...how do i get Navigation Services to default to the "All Files"
selection in the File Types popup?

--
Phillip Kavan <mailto:kavan_mac@dls.net>
Terje - 29 Jul 2003 19:54 GMT
> ...how do i get Navigation Services to default to the "All Files"
> selection in the File Types popup?
>
> Phillip Kavan <mailto:kavan_mac@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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.