Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - How  can i know the slider in Ribbon bar is moved?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

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

 Post Reply Post Reply
Author
Message
vijaymahajan View Drop Down
Groupie
Groupie
Avatar

Joined: 16 June 2008
Status: Offline
Points: 92
Post Options Post Options   Thanks (0) Thanks(0)   Quote vijaymahajan Quote  Post ReplyReply Direct Link To This Post 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.
 
 

 

Back to Top
vijaymahajan View Drop Down
Groupie
Groupie
Avatar

Joined: 16 June 2008
Status: Offline
Points: 92
Post Options Post Options   Thanks (0) Thanks(0)   Quote vijaymahajan Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.