Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[C]GUI function coding

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
407
Master Cheater
Reputation: 0

Joined: 25 Oct 2007
Posts: 357

PostPosted: Wed Dec 15, 2010 5:04 am    Post subject: [C]GUI function coding Reply with quote

Hello.

As a wannabe program/game creator, software designer, or programmer in general, I decided to learn a programming language.. After looking online, I decided to start with C, and took a course at my school.

I learned a lot, but it was all console applications/text programs. What I'm curious about/interested in is creating graphical user interface programs, such as a web browser or a calculator, or something non-console based. I am currently using Microsoft's Visual Studio's 2010 compiler, which does have a GUI designer, but I don't understand how to code functions for a button or a textbox and etc. Most tutorials I could find online are spoon fed code, and I'm wondering if anyone could assist me in finding a tutorial that explains GUI coding in C, or something on this subject.


Thanks for reading.
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Wed Dec 15, 2010 5:37 am    Post subject: Reply with quote

Win32 GUI stuff is pretty gross to be honest, certainly not for the faint of heart. If you really need to do some GUI stuff in C/C++, get it wrapped up in a nice interface quick.

This is pretty relevant still
http://www.winprog.org/tutorial/


edit:
also ResEdit is awesome
http://www.resedit.net/
Back to top
View user's profile Send private message
407
Master Cheater
Reputation: 0

Joined: 25 Oct 2007
Posts: 357

PostPosted: Wed Dec 15, 2010 6:02 am    Post subject: Reply with quote

slovach wrote:
Win32 GUI stuff is pretty gross to be honest
I agree, haha.
Quote:
This is pretty relevant still
http://www.winprog.org/tutorial/

This looks like what I'm looking for, I'll check that out, thanks!

Also, side question.. someone on another forum suggested I use OpenGL.. Could you give me an opinion or comparison?
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Wed Dec 15, 2010 7:42 am    Post subject: Reply with quote

OpenGL is much more...complicated...then directx. It takes like 1000 lines of code just for a window
_________________
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Wed Dec 15, 2010 4:49 pm    Post subject: Reply with quote

Two wrote:
slovach wrote:
Win32 GUI stuff is pretty gross to be honest
I agree, haha.
Quote:
This is pretty relevant still
http://www.winprog.org/tutorial/

This looks like what I'm looking for, I'll check that out, thanks!

Also, side question.. someone on another forum suggested I use OpenGL.. Could you give me an opinion or comparison?


Use it for what?

Neither of the graphics APIs are easy to jump into, especially now since all the fixed function stuff is depreciated and you're in charge of ~* everything *~ related to drawing.

HomerSexual wrote:
OpenGL is much more...complicated...then directx. It takes like 1000 lines of code just for a window


Erm, it's not really that bad.

It's just a short little bit to set up the device contexts and stuff.


Last edited by hcavolsdsadgadsg on Wed Dec 15, 2010 4:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites