473,320 Members | 2,146 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

trying to create simple GUI

175 100+
I want to create a simple application with a few buttons, some text boxes ... just basic stuff, but I have no idea how to do this in C/C++.

I'm writing it using Windows XP, but I may be changing compilers (if that's gonna make a difference).

If someone has some code I can look at, or point me in the right direction, I would appreciate it ... I've searched the Internet, and surprisingly keep coming up with nothing that will help.
Oct 11 '07 #1
2 1129
weaknessforcats
9,208 Expert Mod 8TB
There are any number of books on Windows programming. Try to avoid learning MFC as that is an obsolete product.
Oct 11 '07 #2
oler1s
671 Expert 512MB
The google keyword, or wikipedia keyword is "GUI Toolkit" or "Widget Toolkit".

Actually, what you do is pick a widget API and learn that API. Some are restricted to an OS. Win32 API is the low level API that was maintained until Windows XP. MFC is Microsoft's attempt to make life easier for Windows programming. Horrible. If you feel like you have to use MFC, just go to .NET anyway. There's even more: ATL, WTL, and so on.

Some are cross-platform. QT and GTK+ are very common. WxWidgets is solid as well. Everything else has lesser prominence.

Don't bother asking which one is best. The debate is about as useful as "is blue a better color than red". Just pick one that fits your constraints.

Oh, and consider switching to .NET. The C Win32API is not updated anymore in the sense that Microsoft now considers the .NET SDK the main API for windows programming. That's what they update. It does make your life a lot easier.
Oct 11 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Richard Fritzler | last post by:
I was given the task of designing a complete web based document prep system. In simplest terms (using a msword explanation) create a database of merge fields, and a library of templates. Allow the...
12
by: Phil Certain | last post by:
Hi, I'm trying to do something very simple...or at least it should be. I have created a host page (gen.aspx) and a very simple user control (us.ascx). The corresponding code-behind files are...
5
by: snicks | last post by:
I'm trying to exec a program external to my ASP.NET app using the following code. The external app is a VB.NET application. Dim sPPTOut As String sPPTOut = MDEPDirStr + sID + ".ppt" Dim p As...
18
by: Gleep | last post by:
I've searched google intensely on this topic and it seems noone really knows how to approch this. The goal I don't want clients to give out their usernames and passwords to friends, since the site...
14
by: dba_222 | last post by:
Dear experts, Again, sorry to bother you again with such a seemingly dumb question, but I'm having some really mysterious results here. ie. Create procedure the_test As
6
by: AppleBag | last post by:
I'm having the worst time trying to login to myspace through code. Can someone tell me how to do this? Please try it yourself before replying, only because I have asked this a couple of times in...
1
by: =?Utf-8?B?cm9kY2hhcg==?= | last post by:
hey all, i often here it's better to develop under User profile instead of Administrator. But, I hit road blocks right off the bat. I 1. 'm trying to open a project in source safe which is trying...
16
by: Vitor | last post by:
I am trying to create a dynamic list on dialog box. I have to use RECT with I have to define: TCHAR popSz; RECT popRect = {60,18,100,30}; wsprintf(popSz, "%d", players->getPopSpace(gNum));...
2
by: Aquila546 | last post by:
I am trying to input data from a .txt file into a table. I keep getting, the following message when I run this: Incorrect syntax near '155411287' Use Create Table .....
0
by: rbukkara | last post by:
Hi, I have got the following error while trying to add a user in the LDAP Directory. javax.naming.NameNotFoundException: ; remaining name 'uid=vassila,ou=People,dc=cs,dc=uno,dc=edu' I have...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.