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 Creation (Win32 API)
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
WafflesFTW
Expert Cheater
Reputation: 0

Joined: 21 Mar 2008
Posts: 131

PostPosted: Sun Aug 24, 2008 8:33 pm    Post subject: C++ GUI Creation (Win32 API) Reply with quote

Well, I know how to create a GUI with the whole dialog resource spiel and would like to move on to CreateWindow. However, how does one sanely create an app with many windows using CreateWindow AND most importantly get the coordinates and stuff for each checkbox/menu. I honestly think the coordinate stuff is the killer. I have no idea where to start wiht that. I'm sure there has to be an easier way and to retain win32 speed.
Back to top
View user's profile Send private message AIM Address
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sun Aug 24, 2008 8:45 pm    Post subject: Reply with quote

ResEdit
Back to top
View user's profile Send private message
WafflesFTW
Expert Cheater
Reputation: 0

Joined: 21 Mar 2008
Posts: 131

PostPosted: Sun Aug 24, 2008 8:54 pm    Post subject: Reply with quote

ResEdit only works for resources. I'm talking about actual windows, not dialogs. I already have resedit.
Back to top
View user's profile Send private message AIM Address
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sun Aug 24, 2008 8:58 pm    Post subject: Reply with quote

WafflesFTW wrote:
ResEdit only works for resources. I'm talking about actual windows, not dialogs. I already have resedit.


negative

http://www.resedit.net/
Back to top
View user's profile Send private message
WafflesFTW
Expert Cheater
Reputation: 0

Joined: 21 Mar 2008
Posts: 131

PostPosted: Sun Aug 24, 2008 9:01 pm    Post subject: Reply with quote

Could you explain how to use it? I never could figure it out. Thank you for your time and help.
Back to top
View user's profile Send private message AIM Address
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sun Aug 24, 2008 9:04 pm    Post subject: Reply with quote

File -> Code preview
Back to top
View user's profile Send private message
WafflesFTW
Expert Cheater
Reputation: 0

Joined: 21 Mar 2008
Posts: 131

PostPosted: Sun Aug 24, 2008 9:06 pm    Post subject: Reply with quote

How do you add checkboxes and stuff to it though?
Back to top
View user's profile Send private message AIM Address
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sun Aug 24, 2008 9:06 pm    Post subject: Reply with quote

The same way you add anything else
Back to top
View user's profile Send private message
WafflesFTW
Expert Cheater
Reputation: 0

Joined: 21 Mar 2008
Posts: 131

PostPosted: Sun Aug 24, 2008 9:07 pm    Post subject: Reply with quote

I don't know how to add anything else.. I can only add like menus and dialogs and stuff.
Back to top
View user's profile Send private message AIM Address
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sun Aug 24, 2008 9:27 pm    Post subject: Reply with quote

exactly, create a dialog.
Back to top
View user's profile Send private message
WafflesFTW
Expert Cheater
Reputation: 0

Joined: 21 Mar 2008
Posts: 131

PostPosted: Sun Aug 24, 2008 9:29 pm    Post subject: Reply with quote

Yeah, but I'm trying to get away from dialogs. I already know how to make them. I want to learn how to code with CreateWindow since it is more versatile.
Back to top
View user's profile Send private message AIM Address
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Sun Aug 24, 2008 9:39 pm    Post subject: Reply with quote

I made this for a friend.

Its basically how to create windows in Win32 API. I Explained a lot in there.
Hope it helps.



The Extension 'rar' was deactivated by an board admin, therefore this Attachment is not displayed.


_________________
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sun Aug 24, 2008 9:44 pm    Post subject: Reply with quote

WafflesFTW wrote:
Yeah, but I'm trying to get away from dialogs. I already know how to make them. I want to learn how to code with CreateWindow since it is more versatile.


IT GENERATES THE CODE FROM THE DIALOG.
Back to top
View user's profile Send private message
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Sun Aug 24, 2008 10:18 pm    Post subject: Reply with quote

slovach wrote:
WafflesFTW wrote:
Yeah, but I'm trying to get away from dialogs. I already know how to make them. I want to learn how to code with CreateWindow since it is more versatile.


IT GENERATES THE CODE FROM THE DIALOG.


If you do File -> Export as C then yes, it will do that, but i still recommend doing it yourself. The auto-generated source is messy and is shitty all together... It's just the lazy way out.

_________________
Back to top
View user's profile Send private message
WafflesFTW
Expert Cheater
Reputation: 0

Joined: 21 Mar 2008
Posts: 131

PostPosted: Mon Aug 25, 2008 6:37 am    Post subject: Reply with quote

Thanks both of you. Ill use ResEdit for the coordinates and planning, and will actually code the thing on my own, with the help of the template.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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