Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

"If value corrupts then absolute value corrupts absolutely."


devel / comp.os.ms-windows.programmer.win32 / Re: Scroll bar size not supports values bigger than 32767?

SubjectAuthor
o Re: Scroll bar size not supports values bigger than 32767?Colin Wray

1
Re: Scroll bar size not supports values bigger than 32767?

<7a38c443-a116-4405-ae1b-0b1bd3fab447n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1198&group=comp.os.ms-windows.programmer.win32#1198

  copy link   Newsgroups: comp.os.ms-windows.programmer.win32
X-Received: by 2002:a05:622a:189c:b0:42c:3993:1571 with SMTP id v28-20020a05622a189c00b0042c39931571mr99304qtc.7.1707232896005;
Tue, 06 Feb 2024 07:21:36 -0800 (PST)
X-Received: by 2002:ac8:5710:0:b0:42c:1feb:8bba with SMTP id
16-20020ac85710000000b0042c1feb8bbamr231734qtw.11.1707232895712; Tue, 06 Feb
2024 07:21:35 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.ms-windows.programmer.win32
Date: Tue, 6 Feb 2024 07:21:35 -0800 (PST)
In-Reply-To: <3E8F8F47.908137A7@mvps.org>
Injection-Info: google-groups.googlegroups.com; posting-host=2a00:23c5:5400:7d01:9066:15bb:d715:4fe8;
posting-account=k6HGVAoAAABGfLDpjU3LUdjGM4paBz2V
NNTP-Posting-Host: 2a00:23c5:5400:7d01:9066:15bb:d715:4fe8
References: <78bf64c9.0304022206.12ad0d44@posting.google.com>
<b6kain$hk1$1@netserv.univ-lille1.fr> <3E8F8F47.908137A7@mvps.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7a38c443-a116-4405-ae1b-0b1bd3fab447n@googlegroups.com>
Subject: Re: Scroll bar size not supports values bigger than 32767?
From: greenchurch32@gmail.com (Colin Wray)
Injection-Date: Tue, 06 Feb 2024 15:21:36 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2341
 by: Colin Wray - Tue, 6 Feb 2024 15:21 UTC

On Sunday 6 April 2003 at 03:21:59 UTC+1, Scott McPhillips wrote:
> Jean-Claude Garreau wrote:
> >
> > Yes, thats true. I had the same problem, and the only solution I found
> > was to...
> > redesign my view window!!!
> >
> > If you find another solution, I'm interested.
> >
> > Jean Claude
> >
> This gives you the full 32 bits of scroll bar range...
> void CGScrollView::OnHScroll(UINT nSBCode, UINT nPos, CScrollBar*
> pScrollBar)
> {
> if(nSBCode == SB_THUMBTRACK || nSBCode == SB_THUMBPOSITION)
> {
> // User is dragging the scroll bar.
> // nPos is a legacy 16 bit coordinate.
> // Replace it with 32-bit position (ref: Q166473)
> SCROLLINFO si;
> si.cbSize = sizeof(SCROLLINFO);
> si.fMask = SIF_TRACKPOS;
> GetScrollInfo(SB_HORZ, &si);
> nPos = si.nTrackPos;
> }
> CScrollView::OnHScroll(nSBCode, nPos, pScrollBar);
> }
> --
> Scott McPhillips [VC++ MVP]

Worked like magic for me, although this page in Firefox appears to be failing to scroll to the bottom,
and MS Visual Studio 2022 Class Wizard doesn't work at all so had to use 2019.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor