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 


Making a GUI?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Negima
I post too much
Reputation: 5

Joined: 22 May 2007
Posts: 2221

PostPosted: Fri Aug 15, 2008 7:29 pm    Post subject: Making a GUI? Reply with quote

How does one make a GUI for a C++ application?
Back to top
View user's profile Send private message Visit poster's website
Jani
Grandmaster Cheater
Reputation: 2

Joined: 29 Dec 2006
Posts: 804

PostPosted: Fri Aug 15, 2008 7:47 pm    Post subject: Reply with quote

http://www.zetcode.com/tutorials/wxwidgetstutorial/firstprograms/
Back to top
View user's profile Send private message
Negima
I post too much
Reputation: 5

Joined: 22 May 2007
Posts: 2221

PostPosted: Fri Aug 15, 2008 7:56 pm    Post subject: Reply with quote

Jani wrote:
http://www.zetcode.com/tutorials/wxwidgetstutorial/firstprograms/
I mean how in VS 08 and how to make it so that functions will be performed on
button press.
Back to top
View user's profile Send private message Visit poster's website
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Fri Aug 15, 2008 8:00 pm    Post subject: Reply with quote

Double click on the button and add your code there.
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Fri Aug 15, 2008 8:06 pm    Post subject: Reply with quote

Negima wrote:
Jani wrote:
http://www.zetcode.com/tutorials/wxwidgetstutorial/firstprograms/
I mean how in VS 08 and how to make it so that functions will be performed on
button press.


respond to WM_COMMAND

http://msdn.microsoft.com/en-us/library/ms647591(VS.85).aspx

wParam is the ID.
Back to top
View user's profile Send private message
Negima
I post too much
Reputation: 5

Joined: 22 May 2007
Posts: 2221

PostPosted: Fri Aug 15, 2008 9:14 pm    Post subject: Reply with quote

dnsi0 wrote:
Double click on the button and add your code there.
button?

@slovach I mean the button on the form itself.
Back to top
View user's profile Send private message Visit poster's website
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Fri Aug 15, 2008 10:04 pm    Post subject: Reply with quote

Negima wrote:
dnsi0 wrote:
Double click on the button and add your code there.
button?

@slovach I mean the button on the form itself.


I know.

wParam is the ID of your button. if wParam is that ID, you know it's been clicked and can act appropriately.

http://www.winprog.org/tutorial/

read this and understand it.
Back to top
View user's profile Send private message
sponge
I'm a spammer
Reputation: 1

Joined: 07 Nov 2006
Posts: 6009

PostPosted: Fri Aug 15, 2008 10:53 pm    Post subject: Reply with quote

C++ isn't some RAD language where you have a WYSIWYG style GUI builder. You actually have to handle the message that your process recieves when someone clicks a button.
_________________
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sat Aug 16, 2008 5:38 am    Post subject: Reply with quote

C++ != VB, you will have to handle the GUI messages and such yourself as others said. What Jani linked you to is a cross-platform GUI library that helps make GUI development a little easier (assuming you read how to use the lib itself).
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Mon Aug 18, 2008 5:28 am    Post subject: Reply with quote

but appface can change the interface? why is that then?
_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
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