Solved

MDI question concerning ID_FILE_OPEN

Posted on 1998-03-25
1
219 Views
Last Modified: 2006-11-17
I am writing a multiple document interface program.  I want to
be able to use some of the commands that are produced by
the wizard.  Namely the file open, save, and save as commands
I plan on using the ID_FILE_OPEN and other commands.  How
can I modify the properties of the CommonDialogs that are created
by these commands.  If it is not possible, I know I can create my
own dialogs with the CFileDialog class, but how would I use that
in the MDI.  I am used to using a dialog program where I could just
add the dialog control to my project dialog.
0
Comment
Question by:jrmcg
1 Comment
 
LVL 3

Accepted Solution

by:
gaohong earned 100 total points
ID: 1183802
You should derive your CMDIFrameWnd class and handle command
identified by ID_FILE_OPEN, which is generate a CFileDialog
object, where you could set or modify properties. If you want
add extra controls to the common file open dialog, then you have
to derive your own class and modify the common control resource
to add your own control.
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

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

919 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

19 Experts available now in Live!

Get 1:1 Help Now