Solved

graphical User Interface

Posted on 1999-01-21
2
302 Views
Last Modified: 2010-04-16
I am trying to create graphical user interface using Visual C++ 5.0. Can anyone guide me the right procedures?
0
Comment
Question by:YL
[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
2 Comments
 

Expert Comment

by:ramrocket
ID: 1184743
What kind of GUI?
0
 
LVL 3

Accepted Solution

by:
_Scotch_ earned 100 total points
ID: 1184744
Your question is wide open YL, there are as many types of GUI
as there are programmers who write them...  I'll go out on a
limb and bet that you want to make a dialog based GUI - thats
an excellent choice for a first pass at an application.

Click File -> New.  Click on the "projects" tab.  Then click
on "MFC application" and type the applications name in the edit
box provided, (ie FOO).  Then click on next or ok (cant remember
what the button is).  Select a "dialog based application" and
OK/NEXT your way through the wizard...

Once the wizard is done you have a GUI -- all it has at this
point though is a OK button and a CANCEL button but its still
a GUI :)  What you do next is click on msvc's "resource tab",
its the one with a picture of a cactus...  Click on the "dialog"
folder so you see your "IDD_FOO_DIALOG" choice and doubleclick
on that.  It should pop your dialog box...

Stretch it out, add buttons, listboxes, sliders, etc -- whatever
your app will need.  You can play with it by clicking on the
little "lightswitch" in the lower left hand corner... You assign
text and other behaviours to your controls that need them by right-clicking the control and dragging it down to "properties" and plugging in what you want.

When you've got the controls placed you simply right-click in the
dialog and drag it down to "classwizard".  Doubleclick your way
through all the messages that you want to handle -- InitDialog
is a must ;)...

Voila!  You have an application - just fill in the required code.
fields.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

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…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
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.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

728 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