Solved

CDialog class in MSVC++ 6.0

Posted on 2000-03-06
3
216 Views
Last Modified: 2010-04-02
Is there a way to add controls to a CDialog class at runtime?  I want to dynamically add some controls to a CDialog depending on user settings.

Thanks.
0
Comment
Question by:mgonyea
[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
  • 3
3 Comments
 
LVL 5

Accepted Solution

by:
Wyn earned 100 total points
ID: 2588053
There is exactly what you need:
http://codeguru.developer.com/dialog/DynDlg.html

Regards
W.Yinan
0
 
LVL 5

Expert Comment

by:Wyn
ID: 2588062
Quote:
"These classes are being used for displaying a modal dialog, on which the controls are dynamically added, without the need of having a dialog template as resource."
0
 
LVL 5

Expert Comment

by:Wyn
ID: 2588329
Hope this helpfule...
Regards
W.Yinan
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
C++ to C# code conversion issue 4 120
thread-safe code in c++ 2 122
Need some help with Microsoft Visual Studio C++ 2003 5 74
Why isn't object file created? 6 92
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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 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.

733 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