home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / mswindo / programm / misc / 4875 < prev    next >
Encoding:
Internet Message Format  |  1993-01-12  |  1.7 KB

  1. Xref: sparky comp.os.ms-windows.programmer.misc:4875 alt.lang.basic:1035
  2. Path: 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
  3. From: tope@enea.se (Tommy Petersson)
  4. Newsgroups: comp.os.ms-windows.programmer.misc,alt.lang.basic
  5. Subject: VB and scaling
  6. Keywords: VB
  7. Message-ID: <1993Jan12.131508.24579@enea.se>
  8. Date: 12 Jan 93 13:15:08 GMT
  9. Reply-To: tope@enea.se (Tommy Petersson)
  10. Organization: Enea Data AB, Sweden
  11. Lines: 24
  12. Uucp-Path: mcvax!kth!sunic!enea.se!tope
  13.  
  14. We have an application written in Visual Basic for use on normal
  15. VGA (640*480) monitors. More and more people have 800*600,
  16. 1024*768 or bigger screens, so it would be fine to dynamically
  17. take that into account.
  18.  
  19. It's easy to get the actual resolution by a GDI call, but then -
  20. what should one do? If I for instance have a window with a listbox,
  21. vertical and horizontal scrollbars and on button - and want to have
  22. the listbox as large as possible - how do I do? Scale? Or what?
  23. Tips and tricks? Possible problems?
  24.  
  25. A little harder thing (?): An input form with combo boxes, text input and
  26. lots of everything. If you want to fill up a large part of the screen,
  27. (but not really have the window maximized) and have all proportions
  28. correct (including the font) - how do you do? One global setting /
  29. loop through the controls and change / one separate call for every
  30. control that should be changed?
  31.  
  32. Thanks for any answers,
  33.  
  34. -- 
  35. =============================================================================
  36.  Tommy Petersson              tope@enea.se              Enea Data AB, Sweden
  37. =============================================================================
  38.