Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSlider

Status
Not open for further replies.

bubak

Programmer
Jun 25, 2001
208
SK
Hi.
I have a class, taht's derived from CSliderCtrl. I need, it does sth, when Dragging it (sth. like OnScroll). But I've found, that I should do it with OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) and with ovveriding CScrollBar with my slider on control, when doing it in paren (where the CSliderCtrl is placed). But I need my class. I added OnHScroll (catching WM_HSCROLL), but it doesn;t work. Where should I give "this" , as my class, instead of CScrollBar?
Thx
bubak
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top