Jump to content
  • Advertisement
Sign in to follow this  
toony

easy to learn gui written in c

This topic is 2997 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi, i need to learn some basic gui features/functions fast! i am looking for something that can be picked up very easily and requires little work to make a gui in c. i code in c so i would like the gui to use functions instead of object oriented programming! i need some thing that will get me working directly if there is such thing then plz let me know.

thanks.


EDIT:
ok i found GTK+ and it looks very easy unless there is nothing better i'll go with that. any opinions about it??

Share this post


Link to post
Share on other sites
Advertisement
anyone know another gui that requires one or no dll to run? gtk requires about 15 dlls just to make a stupid window and is not worth for my purpose.

Share this post


Link to post
Share on other sites
Quote:
Original post by LessBread
Check out the code snippets here.


i dont need a compiler; i need to create a gui in c. know of any good ones that dont require a shitload of dlls to run?

EDITED:
they have some good example s though but i never thought of using micrasofts gui and i might thanks.

Share this post


Link to post
Share on other sites
If you're trying to reduce dependencies, use whatever the OS provides. For example, on Windows, that would be the Win32 API.

Share this post


Link to post
Share on other sites
Quote:
Original post by oler1s
If you're trying to reduce dependencies, use whatever the OS provides. For example, on Windows, that would be the Win32 API.


yes thats what im gonna do, thanks for advice fellow developers!

Share this post


Link to post
Share on other sites
ok i am having some problems with the dialog i created, it seems not able to work minimised does anybody know what i can do to make it work minimised? i have to click on it for it to work...


here is some code:

int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd)
{
hInst = hInstance;

// The user interface is a modal dialog box
return DialogBox(hInstance, MAKEINTRESOURCE(DLG_MAIN), NULL, (DLGPROC)DialogProc);
}

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!