Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FileOpenDialog flags

Status
Not open for further replies.

wekkew

Programmer
Sep 28, 1998
123
GB
Hello

using standard windows api file Open Dialog (ahtCommonFileOpenSave) to select file. Is there anyway to switch the view of files to "Details" and to sort in descending order on "Modified"?

I guess there must be some flag somewhere but I can't seem to track it down

Thanks
 
The common dialog does not change the sort order of files being displayed in Explorer as they are two different objects. You can go to view/details and click on the modified column to get this displayed as you are asking.

-------------------------------------
scking@arinc.com
Try to resolve problems independently
Then seek help among peers or experts
But TEST recommended solutions
-------------------------------------
 
Dear Scking

yesss... I know that, but the users (bless em) find that having to position AND click the mouse (twice!) is just too much of an effort.

so - are you saying that if I alter some flags for Explorer they will be picked up by the common dialog control?

No prizes for guessing the next question - you wouldn't happen to know what those flags are?

Thanks again


 
The answer would be maybe and no. I understand a lot about user requests. I haven't accomplished this and would probably start out with an application like 'Spy' to find the window label for the windows explorer to allow you to instantiate an object. Good luck! -------------------------------------
scking@arinc.com
Try to resolve problems independently
Then seek help among peers or experts
But TEST recommended solutions
-------------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top