Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change Dialog Box size

Status
Not open for further replies.

PeDa

Technical User
Oct 10, 2002
227
NL
I wany my application to look the same at various screen resolutions. I can do this for the main window, but not for dialog boxes made in the resource compiler (the boxes get smaller and move up and to the left with increasing resolution). How do I make the following resolution independent; just substituting variables for constants doesn't work:

AboutBox DIALOG 183, 55, 155, 100
LTEXT "Wind speed" , -1, 15, 34, 160, 8
EDITTEXT IDD_SPEED, 105, 34, 20, 10
etc etc

 
I think you need to do this at runtime, using MoveWindow.
Greetings,
Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top