🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.programming
Article #34

TrackBar Problem

#34
From: g
Date: Wed, 31 Mar 1999 00:00
12 lines
1426 bytes
Hi
I'm experiencing problems using trackbars controls.  I can create it, set
the minimum and maximum positions and move the slider with the mouse etc...

My problem is that SendMessage(hTrackBar, TBM_GETPOS , 0, 0);
always returns the initial position of the TrackBar (The one I set using
SETPOS).
My handle is valid because TBM_GETMAXPOS(or whatever)  works.

Why does it always return the initial position? Do I have to set the
position manually at each HSCROLL messages with TBM_SETPOS? Or what?
Help!
Technical Details
Message-ID: <xtwM2.3191$hv4.3967@weber.videotron.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 108717,d9a08f56f705d833,start
X-Google-Attributes: gid108717,public
X-Google-Thread: 10dce5,d9a08f56f705d833,start
X-Google-Attributes: gid10dce5,public
X-Google-Thread: 10aa6b,d9a08f56f705d833,start
X-Google-Attributes: gid10aa6b,public
X-Google-Thread: 103bde,d9a08f56f705d833,start
X-Google-Attributes: gid103bde,public
From: "g" <bah@bah.org>
Subject: TrackBar Problem
Date: 1999/03/31
Message-ID: <xtwM2.3191$hv4.3967@weber.videotron.net>
X-Deja-AN: 461306553
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
X-Complaints-To: abuse@videotron.net
X-Trace: weber.videotron.net 922915805 207.96.252.93 (Wed, 31 Mar 1999 16:30:05 EDT)
X-MSMail-Priority: Normal
NNTP-Posting-Date: Wed, 31 Mar 1999 16:30:05 EDT
Newsgroups: alt.comp.programming,alt.games.programming,borland.public.cpp.winapi,comp.programming