Message Board


Message Board > C/C++ > Can somebody help me with a simple windows application?

November 6, 2006, 16:55
Quiest
now with more happynes
142 posts

Hi!

I need some serious help.

How do I create a simple gui in c++ for windows?

What I want to do: Simple entry fields, some for texts, some for ints, a checkbox and a button.

The button has to start a function (which is already done), which takes the entries from the fields and checkbox as parameters, and displays the returned value in another field.

Can somebody help me out? Or point me to a good tutorial?
That`d be awesome.

Thanks in advance. :)

EDIT: I`m using DevCPP, btw.

[Edited on November 6, 2006 by Quiest]
____________
Roundhousekick to the face, baby!
#
November 6, 2006, 19:49
yonni
None
420 posts
I'd either use VisualC#.NET (C-sharp) which is the VisualStudio 2003/5 version of C++, or just look google for a WinAPI C++ tutorial.

If you don't know the WinAPI it's basically a load of stuff found in windows.h (which should come with Dev-C++) that contains all of the controls for windows features such as windows, msgboxes, various form inputs, buttons etc.

You may also have to try serveral tutorials to find one that suits you/you can make work.

The VC#.NET is alot easier, even when you code in your GUI rather than click-and-drag, but if you use that any computer you want it to work on will have to have the .NET framework (kinda like java apps need the java virtual machine).


Hope that helps
____________
#
November 6, 2006, 20:17
DTM
Earthling!
821 posts

I have used resed for dialog boxes.
____________
:o
#
November 7, 2006, 16:07
Quiest
now with more happynes
142 posts

Okay, thanks.
____________
Roundhousekick to the face, baby!
#
April 2, 2007, 11:02
fenics
None
19 posts

I found THIS a very helpfull tutorial to help me learn to use win32 api in c.
____________
#

Message Board > C/C++ > Can somebody help me with a simple windows application?

Quick reply


You must log in or register to post.
Copyright © 2005 Booleansoup.com
Questions? Comments? Bug reports? Contact us!