Print Page | Close Window

XTPControlSlider and MFC OnNMReleasedcaptureSlider

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=10803
Printed Date: 30 September 2024 at 1:03am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: XTPControlSlider and MFC OnNMReleasedcaptureSlider
Posted By: rokky05
Subject: XTPControlSlider and MFC OnNMReleasedcaptureSlider
Date 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?




Replies:
Posted By: Oleg
Date Posted: 28 May 2008 at 7:29am
Hello,
 
You can override
 
void CXTPControlSlider::OnScroll(UINT nSBCode, UINT /*nPos*/)
 
and check if nSBCode is SB_ENDSCROLL


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net