Solved

MDI question concerning ID_FILE_OPEN

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

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

Suggested Solutions

Title # Comments Views Activity
best sources to up-to-date in C++? 8 104
passing data from one form to another form in c++ 27 89
No module found pypyodbc, 3 45
Adding items to a C# list incrementally 5 64
Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

730 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