Print Page | Close Window

How can i handle the event of Slider control

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=11314
Printed Date: 01 March 2025 at 1:18am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How can i handle the event of Slider control
Posted By: vijaymahajan
Subject: How can i handle the event of Slider control
Date Posted: 05 July 2008 at 1:46am
Hello,
i want to know ,wheather there is any event or something which we can use, to know wheather slider in the ribbon bar is moved?
 
I try to use ON_WM_HSCROLL() event.This event is supported in  XTPMDIFrameWnd also. So i tried it,But it didnt worked.
 
Also i tried On_EN_HSCROLL(id,memberfun).
But it needs the sliders id,which is not there while creating.U also have not used any id to create a slider.Only CXTPControlScrollBar* pointer is there.So i couldnt use this handler.
 
Now Please tell me,how can i get the event or something by which i can find that the slider is clicked.I have many sliders in my ribbon bar,whose values i have to set in editboxes in front of them.also if user puts value in edit box i have to set it on slider,etc etc.
Please tell if any event is there?
Also if such handler is there,how can i come to know which slider in my ribbon bar is clicked?How can i understand as there is no id used?
 
Thanks And Regards,
Vijay.



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