Click here to Skip to main content
15,885,767 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Here is a weird one.

I have a form. It is a pictbox .jpg
On it are a row of horizontally arranged sequential numbers that are labels.
I put a horizontal scroll bar along the bottom of the pictbox.
The scrollbar is to adjust the .Left variable of the labels pulling them farther and farther apart as the scroll value goes up.

I can click the left and right buttons on the ends of the scrollbar and the labels .Left value goes up and the labels pull farther apart, but the thumb control does not move from it's extreme left initial position.

I can also click along the elevator strip and have the labels jump to larger positions as expected but again the thumb control does not move.

Furthermore, if I try to drag the thumb control it won't move ever, at all.

This is a activeX Com server and the client is periodically refreshing the label text as necessary and if I busy out the client the thumb track will work. I tried to thin out the refreshes as far as up to a half second and there was no change whatsoever. So now I have my doubts about busyness being the issue

I used Spy++ to see if a thumbtrack message is coming from the scrollbar and it is, but it's position is always 0.


Any Ideas?
Thanks.
:Ron
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900