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
Solved

CDialog class in MSVC++ 6.0

Posted on 2000-03-06
3
211 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
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

809 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