customize 'office like' file open 
Author Message
 customize 'office like' file open

hi all,
I'm new in the MFC stuff and I have a question :

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).

any answer will be appriciated.

10x.
Ran.



Fri, 09 Nov 2001 03:00:00 GMT  
 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!



Fri, 09 Nov 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. fatal error C1083: Cannot open include file: 'excpt.h': No such file or directory

2. Newbie - Compile error (Cannot open include file: 'xmldom.idl': No such file or directory)

3. BSCMAKE: error BK1506 : cannot open file '.\Debug\StdAfx.sbr': No such file or directory

4. can't open file: to many files open

5. how to customize IE's Open dialog ?

6. Linker cannot open file 'mfc70ud.lib'

7. Cannot open include file: 'crtdbg.h'

8. cannot open include file 'winresrc.h'

9. Trap all 'File Open' requests

10. cannot open include file 'afxres.h'

11. Can't open VFP60's dbf file with DAO

12. Can't open database file unless filed count matches

 

 
Powered by phpBB® Forum Software