
customize 'office like' file open
Hi,
Quote:
>I want to create a file open dialog in my application
>which looks like the file open in the 'office' package :
>the ok & cancel button are on the right side and an
>'advanced' button which opens another dialog
>(actually, I would rather to increase the size of the
>current dialog - like 'find in files' dialog).
You can customize the CFileDialog, you need to create a new
resource file and edit it as text in Visual Studio, you can then paste the
CFileDialog's template into your resource file and then modify it's size
and attributes :)
You will however have problems if you want to attach C objects to controls,
because there is default functionality implemented for CFileDialog, in
addition
there is a flag for using a custom template when you create your
CFileDialog..
for best results, you should replace some controls with your own controls
and just hide the ones that are providing functionality you don't require..
It's a very advanced operation, so stick with it!! If your still struggling
drop me a mail and I'll try and help!
Regards,
Ian
remove nospam- for replies!