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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem with dialog sizes on laptop

Status
Not open for further replies.

dcgsmix

Programmer
Dec 20, 2001
35
0
0
IL
i have a prog that i wrote on win2k, and it has a static size that is given OnDialogInit, it shows correct on all resolutions.

But when i run the prog on a laptop with win2k, and i tried it on 7 laptops, the dialogs are smaller, and the controls are in the same size, so the dialog is cut, and i dont see all my dialog (that has a propertysheet in it if it matters).

i checked it and if i increment the width with about 160 pixels and the height in about 80 pixels, it show correct.

How do i fix it, or if there is now way, how do i check if my prog is running on a LAPTOP or on a desk-PC.

Thanks, Daniel Cohen Gindi
dcgsmix@gmx.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top