Print Page | Close Window

How can i know the slider in Ribbon bar is moved?

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=11305
Printed Date: 01 March 2025 at 1:06am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How can i know the slider in Ribbon bar is moved?
Posted By: vijaymahajan
Subject: How can i know the slider in Ribbon bar is moved?
Date Posted: 04 July 2008 at 2:13am
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.
 
 

 




Replies:
Posted By: vijaymahajan
Date Posted: 07 July 2008 at 11:02pm

Helllo,

This is my request for you,Please atleast reply something.If it is not possible to handle the event you can tell that also,but atleast give some answer.

All my work is pending because of these slider controls events.I am waiting for your reply.
 
Thanks And Regards,
Vijay.


Posted By: Oleg
Date Posted: 08 July 2008 at 6:34am

2 solutions -

1. Create custom class and override its OnScroll method.
 
2. Catch CBN_XTP_EXECUTE message - Search "ON_XTP_EXECUTE" in our samples.


-------------
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