[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

CDialog class in MSVC++ 6.0

Posted on 2000-03-06
3
Medium Priority
?
234 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 400 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

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
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.
Suggested Courses

873 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