Solved

MDI question concerning ID_FILE_OPEN

Posted on 1998-03-25
1
223 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
[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
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

Industry Leaders: 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

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
  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 difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

734 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