Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

User Interface Controls for Win32

I see many user interface control libraries for .NET, but where can I get similar stuff for win32 using simply C/C++?

Things like prettier buttons, dials, listviews, graphs, etc.

Seems every Win32 programmers' right of passage is to end up writing his own collection. :/


No MFC controls please. I only do pure C/C++. And with that said, I also don't feel like adding a multi-megabyte framework to my application just so that I can have a prettier button.


I apologize for leaving out one tiny detail, and that is that my development is for Windows Mobile.

So manifest files are out.

I just notice how many developer companies have gone crazy with making pretty looking .NET components and wondered where the equivalent C/C++ Win32 components have gone?

I read about how many people ended up writing their own gradient button class, etc. So you would think that there would be some commercial classes for this stuff. It's just weird.

I'll take a closer look at QT and investigate its GUI support for such things. This is the challenge when you're the one man in your own uISV. No other developers to help you "get things done".

like image 735
Sebastian Dwornik Avatar asked Sep 15 '08 14:09

Sebastian Dwornik


2 Answers

I've used Trolltech's Qt framework in the past and had great success with it: In addition, it's also cross-platform, so in theory you can target Win, Mac, & Linux (provided you don't do anything platform-specific in the rest of your code, of course ;) )

Edit: I notice that you're targeting Windows Mobile; that definitely adds to Qt's strength, as its cross-platform support extends to WinCE and Embedded Linux as well.

like image 70
Rylee Corradini Avatar answered Oct 11 '22 00:10

Rylee Corradini


The Code Project has lots of UI controls for C/C++

Most of them are focussed on MFC or WTL but there are some that are pure Win32.

As an aside if you're not using a framework, you really should consider WTL over pure Win32. It's low overhead and about a million times more productive.

like image 24
Gareth Simpson Avatar answered Oct 11 '22 02:10

Gareth Simpson