Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Building windows forms in C

So far, I've been able to create a window in C, and add a button and edit box to that window. But, where can I find an exhaustive list of the system classes for all the form controls? I can't remember where I found BUTTON and EDIT--is there a LABEL? LISTBOX? CHECKBOX? COMBOBOX? etc.

Then, how would I use those built in windows functions...I think they're called common controls? Like open a file, save as, print, etc.

like image 317
Carson Myers Avatar asked Sep 20 '25 13:09

Carson Myers


2 Answers

You will go insane if you try to write raw Win32 code with C. If you can use C++, I highly suggest using Qt, if not, use Gtk.

like image 59
Zifre Avatar answered Sep 22 '25 18:09

Zifre


Here you are: they are on MSDN.

But I agree with Zifre that you better use a gui-framework for stuff like this.
There are more like these, e.g. MFC or WTL.

like image 27
fretje Avatar answered Sep 22 '25 19:09

fretje