Solved

Embedded CFileDialog

Posted on 1998-11-12
5
317 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Do you have a plan for Continuity?

It's inevitable. People leave organizations creating a gap in your service. That's where Percona comes in.

See how Pepper.com relies on Percona to:
-Manage their database
-Guarantee data safety and protection
-Provide database expertise that is available for any situation

Question has a verified solution.

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

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

631 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