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 


[Win32 C] Design of Dialog based UI

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

Joined: 26 Nov 2007
Posts: 47

PostPosted: Mon Feb 04, 2008 12:09 am    Post subject: [Win32 C] Design of Dialog based UI Reply with quote

I am now working on a dialog based program on Win32 C, but I have some problems when I was aligning my buttons and stuff on the dialog window. Are there any shortcuts in which I can preview where my buttons and stuff look like before I compile the program to see the results? Thanks in advance.
Back to top
View user's profile Send private message
Cx
Master Cheater
Reputation: 0

Joined: 27 Jul 2007
Posts: 367

PostPosted: Mon Feb 04, 2008 12:44 am    Post subject: Reply with quote

Just using API?
I'm not sure about that... I just do the math. Boring and slow.

_________________

armed with this small butterfly net
i will face the world alone
& never be lonely.
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Mon Feb 04, 2008 9:21 am    Post subject: Reply with quote

if you're using visual studio, control-t will display a preview.

also, shit tends to get out of whack if you resize it height wise. try to keep everything default size and you shouldn't have any problems.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8588
Location: 127.0.0.1

PostPosted: Mon Feb 04, 2008 11:36 am    Post subject: Reply with quote

If you are using Visual Studio, toggle the grid system. There is a button on the Dialog Editor tool bar at the end that lets you do this, its a box with a bunch of dots in it. It will turn on the grid system which lets you "snap" objects to the grid making it a lot easier.

Also, as Slovach said you can either hit CTRL+T or click the first button on the Dialog Editor tool bar to preview the dialog before compiling.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Aikos
Cheater
Reputation: 0

Joined: 26 Nov 2007
Posts: 47

PostPosted: Tue Feb 05, 2008 6:48 am    Post subject: Reply with quote

Thanks all. Do I need the full version of Visual Studio 2008 to get this feature? I am now using the VC++ express 2008, but I do have the full ver. of VS2005.
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Tue Feb 05, 2008 3:23 pm    Post subject: Reply with quote

any of the other versions above express have their own resource editor, but there's plenty of free ones floating around that will work just fine.
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