🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools
Article #861

Need Help With Scroll Window

#861
From: Arthur Lim
Date: Wed, 06 Jan 1993 10:14
23 lines
1554 bytes
Hi

I encountered a little problem when trying to write an application
that has scrolled windows. The effect I wanted was to have a window
with a large client area. In this client area I will have some
controls. When I scroll the window with the scroll-bars, I want to
be able to pan the client area.

Question. Is there a way to determine the largest size of the client
area without calculating the sizes of all the child controls?

Thanks in advance.



+======================================================================+
| Arthur Lim                     | #include <std.disclaimer>           |
| Advanced Software R&D Centre   |                                     |
| Singapore Computer Systems Ltd | arthur@mailhost.scs.com.sg          |
|                                |                                     |
| (Voice) 065-240-3850           |                                     |
| (Fax)   065-441-2811           |                                     |
+======================================================================+
Technical Details
Message-ID: <C0FGFt.87x@newsserver.technet.sg>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!darwin.sura.net!jvnc.net!newserver.jvnc.net!newsserver.technet.sg!scstech

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.tools
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!darwin.sura.net!jvnc.net!newserver.jvnc.net!newsserver.technet.sg!scstech
From: scstech@solomon.technet.sg (Arthur Lim)
Subject: Need Help With Scroll Window
Message-ID: <C0FGFt.87x@newsserver.technet.sg>
Sender: news@newsserver.technet.sg
Nntp-Posting-Host: solomon.technet.sg
Organization: Singapore Computer Systems Ltd
X-Newsreader: TIN [version 1.1 PL8]
Date: Wed, 6 Jan 1993 10:14:16 GMT
Lines: 24