0

Hi

I was wondering how to create a window to run my programs in. It talks about it in many posts but I couldn't find anything on how to actually make one. I have no idea where to start so you will need to tell me pretty much everything (e.g. examples, code, #include).

Thank you.

3
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by Duoas
0

Hi

I was wondering how to create a window to run my programs in. It talks about it in many posts but I couldn't find anything on how to actually make one. I have no idea where to start so you will need to tell me pretty much everything (e.g. examples, code, #include).

Thank you.

Here is one example (assuming you are on Windows).

0

If you are not on windows, or you just want something more cross-platform, you'll need to use a GUI toolkit. The universal favorites are (in no particular order):

Trolltech Qt
GTK+ (and a nice C++ wrapper: GTK++)
wxWidgets
FLTK
FOX Toolkit

You may also want to take a look through The GUI Toolkit, Framework Page.

With the exception of Qt, all those I listed are GPL or better. Qt requires strict non-commercial use (now and in the future) for programs written with the free version.

Hope this helps.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.