Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Embedded CFileDialog

Posted on 1998-11-12
5
Medium Priority
?
323 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 280 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
In this post we will learn different types of Android Layout and some basics of an Android App.
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.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

782 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