|
|
This thread is locked; no one can reply to it.
|
1
2
|
| Any good GUI lib for Windows? |
|
FMC
Member #4,431
March 2004
|
I'm currently writing a simple GUI application, Windows only, and i'm in need of a proper GUI lib. The problem is that out there are simply too many libs, and i don't know which one is practical. What is has to able to do: I'm looking for: I'm NOT looking for: Ideas? [FMC Studios] - [Caries Field] - [Ctris] - [Pman] - [Chess for allegroites] |
|
Arthur Kalliokoski
Second in Command
February 2005
|
You've checked the stuff in the depot? They all watch too much MSNBC... they get ideas. |
|
FMC
Member #4,431
March 2004
|
All of the stuff in that link is Allegro based (with the exception of WxWidgets), which i prefer to not use to avoid resolution based issues, and to be able to resize and maximize the program (which is very hard if you use Allegro). [FMC Studios] - [Caries Field] - [Ctris] - [Pman] - [Chess for allegroites] |
|
le_y_mistar
Member #8,251
January 2007
|
visual basic ----------------- |
|
Mokkan
Member #4,355
February 2004
|
Qt is nice, and you can just use GUI part of it if you want. There's also GTK...
|
|
yozshura
Member #7,420
June 2006
|
FLTK is quite good once you get the hang of it. It is quite difficult to compile the whole library through windows command prompt, but a bash prompt like msys makes it a lot easier(epically with compiling your programs). EDIT: just re-read your post, if it is something simple you want, this might not work for you "Stupidity isn't punishable by death. If it was, there would be a hell of a population drop." -Anita Blake: PSN: leogorerd |
|
ks
Member #1,086
March 2001
|
|
Simon Parzer
Member #3,330
March 2003
|
Quote:
Win32 API makes me sick. What about MFC? Or use Windows Forms through .NET? |
|
Neil Walker
Member #210
April 2000
|
As Simon, .NET is on almost every windows desktop nowadays so there is no need for a redistributable and it is so easy to produce lovely forms as it has built in anchoring/resizing, splitters, database operations, file handling, etc. Neil. wii:0356-1384-6687-2022, kart:3308-4806-6002. XBOX:chucklepie |
|
bamccaig
Member #7,536
July 2006
|
I agree... Unless you have a good reason not to, I would go with .NET... -- acc.js | al4anim - Allegro 4 Animation library | Allegro 5 VS/NuGet Guide | Allegro.cc Mockup | Allegro.cc <code> Tag | Allegro 4 Timer Example (w/ Semaphores) | Allegro 5 "Winpkg" (MSVC readme) | Bambot | Blog | C++ STL Container Flowchart | Castopulence Software | Check Return Values | Derail? | Is This A Discussion? Flow Chart | Filesystem Hierarchy Standard | Clean Code Talks - Global State and Singletons | How To Use Header Files | GNU/Linux (Debian, Fedora, Gentoo) | rot (rot13, rot47, rotN) | Streaming |
|
BAF
Member #2,981
December 2002
|
.NET. |
|
FMC
Member #4,431
March 2004
|
I'm looking at the suggested libraries. Visual Basic and C# (.net uses C#, right?) might be viable options, but: Comments? [FMC Studios] - [Caries Field] - [Ctris] - [Pman] - [Chess for allegroites] |
|
MiquelFire
Member #3,110
January 2003
|
I think C# does offer that. And programming in C# is not that hard to learn actually since you know C/C++. It's the switch to pure OO that may trip you up. --- |
|
Karadoc ~~
Member #2,749
September 2002
|
I've heard that Qt is pretty good, but I don't know from experience. ----------- |
|
Thomas Harte
Member #33
April 2000
|
Surely .NET isn't a complete answer? Are you not then required to pick between Windows Forms and WPF? If I have understood what's going on then I'd say WPF is likely to look a lot better. It seems to finally do away with Microsoft's trademark font nastiness. [My site] [Tetrominoes] |
|
bamccaig
Member #7,536
July 2006
|
I recommend C#/.NET over VB/.NET, especially if you like C/C++ since C# is a C-like language. C# allows you to do lower-level stuff (I don't know if reading bytes is really considered low-level, however), but it forces you to acknowledge what it calls unsafe code. You probably won't need unsafe code for what you're doing though. Reading bytes from files is possible with standard file IO, IIRC. For example, Reading binary data in C# (I don't know if this is the best way to do it though). -- acc.js | al4anim - Allegro 4 Animation library | Allegro 5 VS/NuGet Guide | Allegro.cc Mockup | Allegro.cc <code> Tag | Allegro 4 Timer Example (w/ Semaphores) | Allegro 5 "Winpkg" (MSVC readme) | Bambot | Blog | C++ STL Container Flowchart | Castopulence Software | Check Return Values | Derail? | Is This A Discussion? Flow Chart | Filesystem Hierarchy Standard | Clean Code Talks - Global State and Singletons | How To Use Header Files | GNU/Linux (Debian, Fedora, Gentoo) | rot (rot13, rot47, rotN) | Streaming |
|
Neil Walker
Member #210
April 2000
|
Quote:
Visual Basic and C# (.net uses C#, right?) might be viable options, but: 1. If you know java, .net, php, etc. you know c#, however it isn't the language you need to learn, more the api. But if you get stuck, google usually finds the code you want. 2. yes, they have byte readers Also, visual studio does the job of almost all your gui coding, so you only need to code your backend stuff. Neil. wii:0356-1384-6687-2022, kart:3308-4806-6002. XBOX:chucklepie |
|
FMC
Member #4,431
March 2004
|
OK, I'm convinced! Besides i know Java and C\C++ so the language itself shouldn't be much of a problem. Cookies! [FMC Studios] - [Caries Field] - [Ctris] - [Pman] - [Chess for allegroites] |
|
BAF
Member #2,981
December 2002
|
C# uses .NET, yes. .NET isn't too bad to use once you get going, I taught myself C# and .NET without prior knowledge of either just by fiddling around in Visual C#. Once you get used to the naming conventions of .NET a little, you can just about guess what anything is named and how to use it, intellisense helps a lot in that aspect too. Reading bytes isn't really low level, as others have said, that's fully possible in C#. And as far as making your GUI, basically you design it and plugin the event code, all the low end GUI crap is done by VS. |
|
Cody Harris
Member #4,406
March 2004
|
I like Qt, but I haven't used it for win32 apps, only Linux and OSX apps. --------------------------------- |
|
Neil Walker
Member #210
April 2000
|
If your tinkering with it now, just try and remember that almost everything you want to do with the gui will be configurable in the properties rather than requiring code, such as auto-resizing controls to fit the window, setting up splitter windows, etc. Neil. wii:0356-1384-6687-2022, kart:3308-4806-6002. XBOX:chucklepie |
|
FMC
Member #4,431
March 2004
|
Reading single bytes isn't really low level, but some high level language doesn't let you do this directly. Anyway Visual C# is actually pretty nice, and after playing with it i can only recommend it for any kind of Windows GUI development, it's a real time saver. [FMC Studios] - [Caries Field] - [Ctris] - [Pman] - [Chess for allegroites] |
|
axilmar
Member #1,204
April 2001
|
I used to like Qt, but the restriction of signals/slots not being templates has started getting on my nerves. You can't connect anything else with Qt signals, and you can't use Boost with it because Qt has a "#define signals protected", and Boost has a namespace "signals". The fact is there isn't a simple GUI library for C++ that: a) offers GUI only and nothing else. b) does not rely on preprocessing; Qt requires the MOC and wxWidgets requires writing macros for message maps. c) follows C++ established principles, like using boost::shared_ptr or boost::bind. d) has a simple interface; MFC is a mess, and also has message maps. |
|
Thomas Fjellstrom
Member #476
June 2000
|
Quote: I used to like Qt, but the restriction of signals/slots not being templates has started getting on my nerves. You can't connect anything else with Qt signals, and you can't use Boost with it because Qt has a "#define signals protected", and Boost has a namespace "signals". You can turn that off and use QT_SIGNALS or something similar instead -- |
|
axilmar
Member #1,204
April 2001
|
I don't think I can do that in version 3.0.5 (commercial, used for commercial purposes); it's in a later version. |
|
|
1
2
|