Making a User Controllable Design like in VB

Posted on 2004-11-29
Last Modified: 2010-04-01
You know how in Visual Basic you can add combo boxes, textboxes, etc. resize them, move them around, etc.  How do I let users do that in one of my C++ programs?  I want to create text files from what they design, and load text files that have been saved from my program that auto-arange the form and have it fully editable.
Question by:X2Cube
    LVL 55

    Expert Comment

    by:Jaime Olivares
    I am not sure about your exact requirements. Do you want to handle your controls at design time or at runtime?
    If first, Visual C++ has full dialog design capabilities as Visual Basic.
    If last, have a look to this article:

    Author Comment

    at run time I want my program users to be able to create forms
    LVL 55

    Expert Comment

    by:Jaime Olivares
    Oh, I see. This is not a trivial task, and there is not a ready-made solution.
    You will have to learn some concepts about dinamic dialog/control creation. Have a look to these articles:
    LVL 55

    Accepted Solution

    Ok, I think this is what you are looking for:

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
    C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (…
    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 goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

    759 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

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now