How do I make a GUI in C++

Reply

Join Date: Apr 2004
Posts: 573
Reputation: Dark_Omen is an unknown quantity at this point 
Solved Threads: 6
Dark_Omen Dark_Omen is offline Offline
Posting Pro

How do I make a GUI in C++

 
0
  #1
Apr 30th, 2004
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
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 219
Reputation: BountyX is an unknown quantity at this point 
Solved Threads: 7
BountyX's Avatar
BountyX BountyX is offline Offline
Code Guru

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

 
0
  #2
Apr 30th, 2004
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;
A Hacker's Mind:
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes..." - J.D.Salinger
Reply With Quote Quick reply to this message  
Join Date: Mar 2004
Posts: 77
Reputation: infamous is an unknown quantity at this point 
Solved Threads: 2
infamous infamous is offline Offline
Junior Poster in Training

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

 
0
  #3
May 1st, 2004
the definitive book to pick up would be charles petzolds "programming windows"
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 256
Reputation: FireNet will become famous soon enough FireNet will become famous soon enough 
Solved Threads: 6
FireNet's Avatar
FireNet FireNet is offline Offline
Posting Whiz in Training

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

 
0
  #4
May 6th, 2004
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
See what you can, remember what you need

Fourzon | Earn via Coding
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 573
Reputation: Dark_Omen is an unknown quantity at this point 
Solved Threads: 6
Dark_Omen Dark_Omen is offline Offline
Posting Pro

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

 
0
  #5
May 8th, 2004
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++
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 256
Reputation: FireNet will become famous soon enough FireNet will become famous soon enough 
Solved Threads: 6
FireNet's Avatar
FireNet FireNet is offline Offline
Posting Whiz in Training

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

 
0
  #6
May 11th, 2004
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.
See what you can, remember what you need

Fourzon | Earn via Coding
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 573
Reputation: Dark_Omen is an unknown quantity at this point 
Solved Threads: 6
Dark_Omen Dark_Omen is offline Offline
Posting Pro

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

 
0
  #7
May 11th, 2004
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.
Reply With Quote Quick reply to this message  
Join Date: Dec 2003
Posts: 2,414
Reputation: alc6379 has a spectacular aura about alc6379 has a spectacular aura about alc6379 has a spectacular aura about 
Solved Threads: 123
Team Colleague
alc6379's Avatar
alc6379 alc6379 is offline Offline
Cookie... That's it

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

 
0
  #8
May 15th, 2004
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?
Alex Cavnar, aka alc6379
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 113
Reputation: liliafan is on a distinguished road 
Solved Threads: 2
liliafan's Avatar
liliafan liliafan is offline Offline
Junior Poster

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

 
0
  #9
May 15th, 2004
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.
Application development, webhosting, and much more: www.webcentric-hosting.com
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 573
Reputation: Dark_Omen is an unknown quantity at this point 
Solved Threads: 6
Dark_Omen Dark_Omen is offline Offline
Posting Pro

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

 
0
  #10
May 16th, 2004
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.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC