|  | 
| How can i know the slider in Ribbon bar is moved? | 
| Post Reply   | 
| Author | |
| vijaymahajan   Groupie     Joined: 16 June 2008 Status: Offline Points: 92 |  Post Options  Thanks(0)  Quote  Reply  Topic: How  can i know the slider in Ribbon bar is moved? 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. 
 | |
|  | |
| vijaymahajan   Groupie     Joined: 16 June 2008 Status: Offline Points: 92 |  Post Options  Thanks(0)  Quote  Reply  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. | |
|  | |
| Oleg   Senior Member   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |  Post Options  Thanks(0)  Quote  Reply  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 | |
|  | |
| 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 |