RSS Forums RSS
Please support our C++ advertiser: Programming Forums
Views: 1769 | Replies: 11 | Solved
Reply
Join Date: Jul 2007
Posts: 3
Reputation: zite.1 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
zite.1 zite.1 is offline Offline
Newbie Poster

GUI developed in pure C++ code

  #1  
Jul 23rd, 2007
Is there a way to create a GUI completely in C++ code?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jun 2005
Location: Cambridge, MA
Posts: 1,330
Reputation: Rashakil Fol has a spectacular aura about Rashakil Fol has a spectacular aura about 
Rep Power: 7
Solved Threads: 44
Colleague
Rashakil Fol's Avatar
Rashakil Fol Rashakil Fol is offline Offline
Salamander Man

Re: GUI developed in pure C++ code

  #2  
Jul 23rd, 2007
Yes.
Reply With Quote  
Join Date: Apr 2004
Location: Tracy
Posts: 744
Reputation: Killer_Typo will become famous soon enough Killer_Typo will become famous soon enough 
Rep Power: 7
Solved Threads: 32
Killer_Typo's Avatar
Killer_Typo Killer_Typo is offline Offline
Master Poster

Re: GUI developed in pure C++ code

  #3  
Jul 23rd, 2007
yes it can be a bit of a pain at first but using the windows api it can be done

this is of course in windows, you need to specify the OS for a more specific answer.

http://msdn2.microsoft.com/en-us/library/ms632587.aspx
!!!!! WARNING YOUR COMPUTER MAY BE INFECTED WITH SPYWARE!!!! PAY AN OVER PRICED AMMOUNT TO HAVE SOMTHING FIXED WE PLACED THERE IN THE FIRST PLACE!!!!!!!!!

sound familiar, know how to block yourself and keep yourself clean.
_____________________
http://www.lavasoftusa.com/ -->adaware
http://www.safer-networking.org/en/index.html -->spybot S&D
http://www.javacoolsoftware.com/spywareblaster.html -->spywareblaster
http://www.javacoolsoftware.com/spywareguard.html -->spywareguard
_____________________
and dont forget to spread the reputation to those that deserve!
Reply With Quote  
Join Date: Jul 2007
Posts: 3
Reputation: zite.1 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
zite.1 zite.1 is offline Offline
Newbie Poster

Re: GUI developed in pure C++ code

  #4  
Jul 23rd, 2007
Can you tell me where to find tutorials and books that explain how to do it?
Reply With Quote  
Join Date: Aug 2005
Location: near St Louis, Missouri, USA
Posts: 11,666
Reputation: Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of 
Rep Power: 40
Solved Threads: 990
Moderator
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Most Valuable Poster

Re: GUI developed in pure C++ code

  #5  
Jul 23rd, 2007
Here is a popular tutorial. win32 api is C, not C++. You can create c++ programs that call win32 api but it isn't necessary. MFC and wxWidgets are two c++ gui libraries. wxWidgets is free and works with most compilers and operating systems. MFC is not free and restricted to MS-Windows.
Last edited by Ancient Dragon : Jul 24th, 2007 at 11:54 am.
<<Freelance Programmer>> << Hobby Site>>
Signature links for sale. PM me for details
Reply With Quote  
Join Date: Jul 2007
Posts: 1
Reputation: ag1gold is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 1
ag1gold ag1gold is offline Offline
Newbie Poster

Re: GUI developed in pure C++ code

  #6  
Jul 24th, 2007
Originally Posted by zite.1 View Post
Is there a way to create a GUI completely in C++ code?

Yes. I recommend using the wxWidgets toolkit at http://wxWidgets.org. This toolkit is free and will enable you to write cross platform GUI code.
http://www.tekartisans.com --> Consulting Services
Reply With Quote  
Join Date: Jul 2007
Posts: 8
Reputation: Voynex is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 2
Voynex Voynex is offline Offline
Newbie Poster

Re: GUI developed in pure C++ code

  #7  
Jul 24th, 2007
I also recommend to use ATL and WTL if you are programming for MS Windows platform.
voynex.com - high quality software and web development.
Reply With Quote  
Join Date: Jul 2007
Posts: 37
Reputation: Arctic wolf is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 1
Arctic wolf Arctic wolf is offline Offline
Light Poster

Question Re: GUI developed in pure C++ code

  #8  
Jul 24th, 2007
Hello everybody,
I apologize for bursting into the conversation.

I read the win32 tutorial that Ancient Dragon talked about,it's pretty good.

I just wanted to ask one question:
If I build a program using win32 API on windows xp professional version 2002.
Will that program run correctly on other versions of windows(windows 98,windows 95,windows vista)?
Reply With Quote  
Join Date: Aug 2005
Location: near St Louis, Missouri, USA
Posts: 11,666
Reputation: Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of 
Rep Power: 40
Solved Threads: 990
Moderator
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Most Valuable Poster

Re: GUI developed in pure C++ code

  #9  
Jul 24th, 2007
Maybe -- depends on what api functions you use. When unsure what version of the os a function supports, look it up in MSDN and it will tell you. There are many functions that are either unsupported on older versions of Windows or does not exist at all. For example, UNICODE is not supported in Win95/98 so if you compiled your program for UNICODE it will not run on either of those versions of MS-Windows.
Last edited by Ancient Dragon : Jul 24th, 2007 at 4:01 pm.
<<Freelance Programmer>> << Hobby Site>>
Signature links for sale. PM me for details
Reply With Quote  
Join Date: Jul 2007
Posts: 37
Reputation: Arctic wolf is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 1
Arctic wolf Arctic wolf is offline Offline
Light Poster

Re: GUI developed in pure C++ code

  #10  
Jul 24th, 2007
Thank you.
I understand the story with the older versions of windows(it's actualy pretty logical, isn't it : ) ).
And if I understand correctly the more recent versions should
support all the functions that their predecessors supported( vista should support all the api functions that xp supported), am I right?
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 5:37 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC