Solved

Why my Nested Dialog Box doesn't work????

Posted on 1997-09-16
2
303 Views
Last Modified: 2013-11-19
I create a dialog resource template with a "hole" in it( a grounp box ). I set the child window with ID stc32=ox045f.
I want to put a CFileDialog box in it. But when I run the program, it only shows the CFileDialog box and nothing else
why ??? Do I need set some flag(Environment) ??
0
Comment
Question by:sl73c
2 Comments
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 50 total points
ID: 1306362
The CFileDialog is a modal dialog and as such it is not designed to be used within another dialog. If you need this behavior, you will need to write the code yourself. However, at least the template can be reused. Look in your VC\Include directory for a file called FILEOPEN.DLG for the dialog template resource. But then you will need to write the code to handle the displaying and updating of the controls.
0
 

Author Comment

by:sl73c
ID: 1306363
Hi, thui

thanks for your help.
I got some questions here. I can put that CFileDialog box as a nested Dialog box in another dialog box. But my problem is
I can do it on some other machine but I can not do it on my machine. I don't know the reason.

Would you please think about it again?
Do I need to set up some enviroment flag for this?

thanks again

Jeff
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

831 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