🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2726

VB and scaling

#2726
From: Tommy Petersson
Date: Tue, 12 Jan 1993 13:15
24 lines
1699 bytes
We have an application written in Visual Basic for use on normal
VGA (640*480) monitors. More and more people have 800*600,
1024*768 or bigger screens, so it would be fine to dynamically
take that into account.

It's easy to get the actual resolution by a GDI call, but then -
what should one do? If I for instance have a window with a listbox,
vertical and horizontal scrollbars and on button - and want to have
the listbox as large as possible - how do I do? Scale? Or what?
Tips and tricks? Possible problems?

A little harder thing (?): An input form with combo boxes, text input and
lots of everything. If you want to fill up a large part of the screen,
(but not really have the window maximized) and have all proportions
correct (including the font) - how do you do? One global setting /
loop through the controls and change / one separate call for every
control that should be changed?

Thanks for any answers,

-- 
=============================================================================
 Tommy Petersson              tope@enea.se              Enea Data AB, Sweden
=============================================================================
Technical Details
Message-ID: <1993Jan12.131508.24579@enea.se>
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!charnel!rat!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sunic!seunet!enea!tope

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!charnel!rat!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sunic!seunet!enea!tope
From: tope@enea.se (Tommy Petersson)
Newsgroups: comp.os.ms-windows.programmer.misc,alt.lang.basic
Subject: VB and scaling
Keywords: VB
Message-ID: <1993Jan12.131508.24579@enea.se>
Date: 12 Jan 93 13:15:08 GMT
Reply-To: tope@enea.se (Tommy Petersson)
Organization: Enea Data AB, Sweden
Lines: 24
Uucp-Path: mcvax!kth!sunic!enea.se!tope