Solved

Embedded CFileDialog

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
pre4 challenge 19 100
fix34  challenge 9 118
How to convert MFC::CString to UTF8 wchar_t* 10 209
mapBully challenge 6 134
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
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.

773 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