| View previous topic :: View next topic |
| Author |
Message |
Aikos Cheater
Reputation: 0
Joined: 26 Nov 2007 Posts: 47
|
Posted: Mon Feb 04, 2008 12:09 am Post subject: [Win32 C] Design of Dialog based UI |
|
|
| 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 |
|
 |
Cx Master Cheater
Reputation: 0
Joined: 27 Jul 2007 Posts: 367
|
Posted: Mon Feb 04, 2008 12:44 am Post subject: |
|
|
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 |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Mon Feb 04, 2008 9:21 am Post subject: |
|
|
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 |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8588 Location: 127.0.0.1
|
Posted: Mon Feb 04, 2008 11:36 am Post subject: |
|
|
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 |
|
 |
Aikos Cheater
Reputation: 0
Joined: 26 Nov 2007 Posts: 47
|
Posted: Tue Feb 05, 2008 6:48 am Post subject: |
|
|
| 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 |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Tue Feb 05, 2008 3:23 pm Post subject: |
|
|
| 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 |
|
 |
|