🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #2153

Re: Temporarily adding scrollbars to window

#2153
From: SSL Guest User
Date: Tue, 16 Apr 1991 00:11
13 lines
767 bytes
Terrell,

Try ShowScrollBar(hWnd, SB_HORZ (or SB_VERT), TRUE);

The trick is trying to keep track of when the scroll bar
is present or not - in order to scroll you client area
correctly.

Be sure to set your scroll range, and scroll positions as
the user doinks with the scroll bar.

Best of luck,
Thomas
Technical Details
Message-ID: <25920008@hpkslx.mayfield.HP.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpda!hpcuhb!hpkslx!ssl
References: <1991Apr12.044108.4007@mnemosyne.cs.du.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpda!hpcuhb!hpkslx!ssl
From: ssl@hpkslx.mayfield.HP.COM (SSL Guest User)
Newsgroups: comp.windows.ms.programmer
Subject: Re: Temporarily adding scrollbars to window
Message-ID: <25920008@hpkslx.mayfield.HP.COM>
Date: 16 Apr 91 00:11:52 GMT
References: <1991Apr12.044108.4007@mnemosyne.cs.du.edu>
Organization: HP Response Center Lab
Lines: 13