![]() |
XTPControlSlider and MFC OnNMReleasedcaptureSlider |
Post Reply ![]() |
Author | |
rokky05 ![]() Groupie ![]() Joined: 04 February 2008 Location: Ukraine Status: Offline Points: 18 |
![]() ![]() ![]() ![]() ![]() Posted: 28 May 2008 at 5:28am |
Hi, I use your Slider and I need to catch an event when mouse capture release. in MFC I simply add OnNMReleasedcaptureSlider(NMHDR *pNMHDR, LRESULT *pResult), but your Slider does not have such function, how it is possible to replace? |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello,
You can override
void CXTPControlSlider::OnScroll(UINT nSBCode, UINT /*nPos*/)
and check if nSBCode is SB_ENDSCROLL
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |