Solved

Embedded CFileDialog

Posted on 1998-11-12
5
310 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

705 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

18 Experts available now in Live!

Get 1:1 Help Now