Regarding the scrollbars Property in activex control

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • panks2007
    New Member
    • Aug 2007
    • 6

    Regarding the scrollbars Property in activex control

    Hi,

    The scrollbars property in one activex which works similar to scrollbars property of textbox control when click on the region between slilder and arrow its moving either end.

    so, how to make it move smoothly when click between Slider and arrow


    Pankaj
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #2
    Originally posted by panks2007
    The scrollbars property in one activex which works similar to scrollbars property of textbox control when click on the region between slilder and arrow its moving either end.

    so, how to make it move smoothly when click between Slider and arrow
    Do you have access to the source of the "activex"? If not, then I doubt you can control how its scrollbars behave.

    Comment

    • panks2007
      New Member
      • Aug 2007
      • 6

      #3
      Originally posted by Killer42
      Do you have access to the source of the "activex"? If not, then I doubt you can control how its scrollbars behave.
      Hi,

      Yes I have access to source of activex.
      but not come to know where the default values are set i.e. that increament value for slider when click on region between slider and arrow end of scrollbar..

      Thanks & regards,
      Pankaj

      Comment

      • Killer42
        Recognized Expert Expert
        • Oct 2006
        • 8429

        #4
        Originally posted by panks2007
        Yes I have access to source of activex.
        but not come to know where the default values are set i.e. that increament value for slider when click on region between slider and arrow end of scrollbar..
        Well, in the case of a regular scrollbar control, it's the LargeChange property that you would be interested in.

        Comment

        • panks2007
          New Member
          • Aug 2007
          • 6

          #5
          Originally posted by Killer42
          Well, in the case of a regular scrollbar control, it's the LargeChange property that you would be interested in.

          Hi,

          Yes I know for regular scrollbar LargeChange and smallchange are the properties but for scrollbars properties its not applicable.By default that functionality(C lick on the region between slider and arrow have smooth movement) is there.but in my case that functionality is not working may be its not implemented because the sourse code for that activex is old

          Please tell me how that functionality can be set in scrollbars property..

          Thanks & Regards,
          Pankaj

          Comment

          • Killer42
            Recognized Expert Expert
            • Oct 2006
            • 8429

            #6
            Well, I don't know what type of control it is, or what properties it has. Or what other controls it may be made up of. For instance, if it's a user control which uses a VScrollbar and/or HScrollbar control to provide scrolling, then perhaps you can edit the source and change (or simply expose to the application) the LargeChange and SmallChange properties.

            Comment

            • panks2007
              New Member
              • Aug 2007
              • 6

              #7
              Hi,

              The message from WndProc( ) is getting wrong WPARAM value for location of slider.

              So please tell me how I can get the correct value of position of slider in scrollbar.

              Thanks,
              Pankaj

              Comment

              • Killer42
                Recognized Expert Expert
                • Oct 2006
                • 8429

                #8
                Originally posted by panks2007
                The message from WndProc( ) is getting wrong WPARAM value for location of slider.
                Not sure what you mean. Does the ActiveX control use API calls to do its thing, or what?

                Comment

                Working...