Solved

Embedded CFileDialog

Posted on 1998-11-12
5
312 Views
Last Modified: 2013-11-20
Hi.
I'd like to do something like Visual Basic Open Project dialog, which is a property sheet that has the common file dialog in one of the pages.
The problem is that CFileDialog (which hooks the GetOpenFileName API) only opens as a modal dialog, and embedding it as a child is difficult...
Any ideas, pointers, something, if possible, please show a simple example

   Thanks.
0
Comment
Question by:samyee
  • 3
  • 2
5 Comments
 
LVL 1

Expert Comment

by:elf_k
ID: 1324573
I can send you a code that implements FileOpen dialog that looks EXACTLY like VB stuff (with recent file list with icons of opened documents). Think that it will be an answer. You only need to wait to Monday. Ok?
0
 
LVL 1

Expert Comment

by:elf_k
ID: 1324574
Well, I just written it. This óðîäñêèé CFileDialog is very nasty thing. If you adjust points to 250 I can send you the stuff you request, and in addition File|New property page with icons, DevStudio like Windows dialog and VB style File|Save All dialog (I am too lazy to remove extra stuff from my .h and .cpp files).
You only need to "comment" your e-mail here.
                                At your service. Elf.

0
 

Author Comment

by:samyee
ID: 1324575
Hi elf_k

I don't have that amount of points at the moment.... So can I give u the remaining 180 points from another acct??

My mailing address is ymw1@np.edu.sg

Regards
Samuel
0
 

Author Comment

by:samyee
ID: 1324576
Hi elf_k

my 180 points is already there for u.... look out for subject "For elf_k ONLY" by ymw3.....

Is it not enough?? Or shall I increase the points???

Others: pls drop in here.... I'll give the points to anyone who solve my problem
0
 
LVL 1

Accepted Solution

by:
elf_k earned 70 total points
ID: 1324577
Ok, 180 is high enough for me. I write this dialog for myself, not for you. I send you a lot of source code tested with VC 6.0 "as is". Requested CFileDialog is working correctly, other stuff may "assert" sometimes. Feel free to modify, no fees, no responsibility and no references to me.
Just send .zip at ymw1@np.edu.sg

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Need to retreive data from .TFS file exported by DVR 8 177
difference between String.subString() and String.subSequence() 6 169
sum67 challenge 35 93
zeroFront challenge 7 79
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now