Clive Walker
May 25th, 1999, 10:56 AM
Any ideas?
|
Click to See Complete Forum and Search --> : Everytime I move the slider bar in my dialog OnHScroll gets called 3 times instead of 1 Clive Walker May 25th, 1999, 10:56 AM Any ideas? Ravi Bhavnani May 25th, 1999, 01:00 PM You're getting WM_HSCROLL messages with different scroll codes (wParam's). You're probably receiving SB_THUMBPOSITION, SB_THUMBTRACK and SB_ENDSCROLL. From VC++ online help: SB_BOTTOM Scrolls to the lower right. SB_ENDSCROLL Ends scroll. SB_LINELEFT Scrolls left by one unit. SB_LINERIGHT Scrolls right by one unit. SB_PAGELEFT Scrolls left by the width of the window. SB_PAGERIGHT Scrolls right by the width of the window. SB_THUMBPOSITION Scrolls to the absolute position. The current position is specified by the nPos parameter. SB_THUMBTRACK Drags scroll box to the specified position. The current position is specified by the nPos parameter. SB_TOP Scrolls to the upper left. /ravi codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |