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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TOpenDialog initialization

Status
Not open for further replies.

ronk

Programmer
Jun 20, 2001
3
0
0
DK
How can you make a TOpenDialog startup with the "Details" option selected as the default file display? Thankyou.
 
I did a little research into this, and I'm not sure if you can do that. It seems like it might be an operating system dependent setting.

But if you want to attempt it, you'll need to create a new component and utilize MFC's GetOpenFileName (this creates a standard dialog box for opening files), initialize the data to create an explorer-style dialog box, and somehow use a hook into the box to change the viewing properties...again I don't even know if this is possible, but seems like it would be.

Or maybe someone else has a quick solution that I couldn't find! :)

Good luck!
Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top