Board index » cppbuilder » Setting view style when using GetOpenFileName() api

Setting view style when using GetOpenFileName() api


2005-11-24 07:38:11 PM
cppbuilder10
Hi all, just a quick, double question.
I'm using GetOpenFileName() api to display the Open dialog but I want to
know if it's possible to set the view style i.e. so the dialog displays
thumbnails, before the dialog is displayed so the user doesn't have to
select that style. I'm using this particular occurrence to allow the user
to pick an image so that's the kind of visual effect I'm trying to achieve.
Also, I've notices, particularly in Outlook 2003, their open / save dialog
has an image preview panel on it - is this an extension to the above api's
or is it simply that they've coded their own custom, custom dialogs :-)
Ideally this is the effect that I would like to achieve.
Many thanks in advance,
Mike C
 
 

Re:Setting view style when using GetOpenFileName() api

"Mike Collins" < XXXX@XXXXX.COM >wrote in message
Quote
I'm using this particular occurrence to allow the user to
pick an image so that's the kind of visual effect I'm trying
to achieve.
The VCL has a TOpenPictureDialog component that does that.
Quote
Also, I've notices, particularly in Outlook 2003, their open / save
dialog has an image preview panel on it - is this an extension to
the above api's or is it simply that they've coded their own custom,
custom dialogs :-)
I do not have 2003 available, but they are likely custom dialogs. Editing
the standard dialogs is not a trivial task
Gambit
 

Re:Setting view style when using GetOpenFileName() api

Quote
I'm using GetOpenFileName() api to display the Open dialog but I
want to
know if it's possible to set the view style i.e. so the dialog
displays thumbnails, before the dialog is displayed so the user
doesn't have to select that style. I'm using this particular
occurrence to allow
It needs updating for XP choices like the one you want, but have a
look at
home.att.net/~secondcut/opdlgdtl.htm
Perhaps you have time to research the XP messages.
--
Timothy H. Buchman
========================================
City Center Theater, New York NY
mail address tbuchmanPLEASE(at sign)REMOVEcitycenterD O Torg
 

{smallsort}