?
Solved

graphical User Interface

Posted on 1999-01-21
2
Medium Priority
?
303 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 400 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
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.
Suggested Courses

752 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