943,648 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 302129
  • C++ RSS
You are currently viewing page 1 of this multi-page discussion thread
Apr 30th, 2004
-1

How do I make a GUI in C++

Expand Post »
Hello,
I am new to make programs. So far I can just do logical stuff like math in a dos window. I now want to move on to making actual windows programs. Does anyone know how to make a GUI in C++ for a windows application? Any reading online or in a book that I can look up? And I was also wondering once you have your code and your GUI how to make the code become the program?
Any help would be great,
Thanks
Similar Threads
Reputation Points: 23
Solved Threads: 6
Posting Pro
Dark_Omen is offline Offline
573 posts
since Apr 2004
Apr 30th, 2004
0

Re: How do I make a GUI in C++

Quote originally posted by Dark_Omen ...
Hello,
I am new to make programs. So far I can just do logical stuff like math in a dos window. I now want to move on to making actual windows programs. Does anyone know how to make a GUI in C++ for a windows application? Any reading online or in a book that I can look up? And I was also wondering once you have your code and your GUI how to make the code become the program?
Any help would be great,
Thanks
http://www.winprog.org/tutorial/ -- That will teach you how to make a GUI for Windows only in window's native GUI implement (API)

To implement your code you need to respond to a user's action, i.e clicks a button then do i = 1+1;
Reputation Points: 28
Solved Threads: 9
Posting Whiz in Training
BountyX is offline Offline
222 posts
since Mar 2004
May 1st, 2004
0

Re: How do I make a GUI in C++

the definitive book to pick up would be charles petzolds "programming windows"
Reputation Points: 47
Solved Threads: 2
Junior Poster in Training
infamous is offline Offline
77 posts
since Mar 2004
May 6th, 2004
0

Re: How do I make a GUI in C++

It's easy once you get to know the windows message handling
[I will assume you checked out http://www.winprog.org/tutorial/ it's good]

Hey read everything and if you need more come back here.[I can help you eith the message handling].

You cant compile GUI like dos, you will have to change some options in your compiler or you will get an error on make like:

WinMain() not referneced ..... bla...bla or someting like that
Reputation Points: 108
Solved Threads: 7
Posting Whiz in Training
FireNet is offline Offline
256 posts
since May 2004
May 8th, 2004
0

Re: How do I make a GUI in C++

Yeah I read most of the tutorial and havent got a cahnce to finish it yet. I heard that using a library would be an easier way of making a GUI so I found one called fox-toolkit. The only problem is that I dont know how to get it to work or install.
Right now I am using Bloodshed Dev-C++
Reputation Points: 23
Solved Threads: 6
Posting Pro
Dark_Omen is offline Offline
573 posts
since Apr 2004
May 11th, 2004
0

Re: How do I make a GUI in C++

Dump the fox-whatever.There are alot of such stuff which have no future. Get rid of Bloodshed also.I have used it and some standards are not supported.Borland Command line complier (they give that for free) is much
better.

Window's native GUI implement (API) is also good to know it's not so tough.
Reputation Points: 108
Solved Threads: 7
Posting Whiz in Training
FireNet is offline Offline
256 posts
since May 2004
May 11th, 2004
0

Re: How do I make a GUI in C++

That wasn't very helpful. And the new version of Dev-C++ is pretty good.
I still need to know how to install a new library if any one could help. I know that the library is intergrated into the API to make it easier.
Reputation Points: 23
Solved Threads: 6
Posting Pro
Dark_Omen is offline Offline
573 posts
since Apr 2004
May 15th, 2004
0

Re: How do I make a GUI in C++

If the library is integrated into the API, then you shouldn't have to install it.

...What GUI library are you trying to install, anyways? There are bunches of them: Gtk, Qt, and Motif are examples of GUI libraries-- what's the name of the one you're trying to install?
Team Colleague
Reputation Points: 186
Solved Threads: 147
Cookie... That's it
alc6379 is offline Offline
2,519 posts
since Dec 2003
May 15th, 2004
0

Re: How do I make a GUI in C++

Quote originally posted by FireNet ...
Dump the fox-whatever.There are alot of such stuff which have no future. Get rid of Bloodshed also.I have used it and some standards are not supported.Borland Command line complier (they give that for free) is much
better.
What don't you like about bloodshed? I have used it a bit and quite like it, I prefer it over Visual C++ 6, and so far as standards are concerned it is basically GNU GCC 2.95 (last time I checked) ported to windows which is very standards compliant.
Reputation Points: 66
Solved Threads: 3
Junior Poster
liliafan is offline Offline
117 posts
since Apr 2004
May 16th, 2004
0

Re: How do I make a GUI in C++

Its called fox-toolkit. I got it from their website at www.fox-toolkit.org. I tried to get Gtk but it wouldn't let me download it from the site. If you know where i can get it that would be great. Thanks.
Reputation Points: 23
Solved Threads: 6
Posting Pro
Dark_Omen is offline Offline
573 posts
since Apr 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
This thread is currently closed and is not accepting any new replies.
Previous Thread in C++ Forum Timeline: Preprocessor Directives , Help plz ..
Next Thread in C++ Forum Timeline: What is Gtk?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC