CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2002
    Posts
    146

    Track bar with two slides!! :mad:

    Hi there,
    In the gui I am developing I need a track bar with two slides (in order to define a range)
    Something similare to :

    ------------<----------------------->------------------

    Can anyone help me?
    Many thanks

  2. #2
    Join Date
    Mar 2005
    Location
    Vienna, Austria
    Posts
    4,538

    Re: Track bar with two slides!! :mad:

    Quote Originally Posted by skuanet View Post
    Hi there,
    In the gui I am developing I need a track bar with two slides (in order to define a range)
    Something similare to :

    ------------<----------------------->------------------

    Can anyone help me?
    Many thanks
    Something like the tab controls in Word which can be moved using the mouse?
    Jonny Poet

    To be Alive is depending on the willingsness to help others and also to permit others to help you. So lets be alive. !
    Using Code Tags makes the difference: Code is easier to read, so its easier to help. Do it like this: [CODE] Put Your Code here [/code]
    If anyone felt he has got help, show it in rating the post.
    Also dont forget to set a post which is fully answered to 'resolved'. For more details look to FAQ's about Forum Usage. BTW I'm using Framework 3.5 and you ?
    My latest articles :
    Creating a Dockable Panel-Controlmanager Using C#, Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Part 7

  3. #3
    Join Date
    Jul 2002
    Posts
    146

    Re: Track bar with two slides!! :mad:

    yes

  4. #4
    Join Date
    Jun 2004
    Location
    Kashmir, India
    Posts
    6,808

    Re: Track bar with two slides!! :mad:

    Something like this should be good enough
    http://www.codeproject.com/KB/select...geControl.aspx

  5. #5
    Join Date
    Mar 2005
    Location
    Vienna, Austria
    Posts
    4,538

    Re: Track bar with two slides!! :mad:

    Quote Originally Posted by skuanet View Post
    yes
    You need to design your own control, best way you do a userdefined Ownerdrawn control maybe with a ruler as a base and the sliders on it. Will be a lot of work.
    For how to design a ruler look here
    http://www.codeproject.com/KB/cs/Biz...02#xx3104702xx

    There are alredy rulers in this project. So you can adapt this part to your needs.
    But as I just have seen Shuja pointed to a alredy completed Range selector Control. So maybe his link will fit exactly to your needs
    Last edited by JonnyPoet; July 3rd, 2009 at 02:17 PM.
    Jonny Poet

    To be Alive is depending on the willingsness to help others and also to permit others to help you. So lets be alive. !
    Using Code Tags makes the difference: Code is easier to read, so its easier to help. Do it like this: [CODE] Put Your Code here [/code]
    If anyone felt he has got help, show it in rating the post.
    Also dont forget to set a post which is fully answered to 'resolved'. For more details look to FAQ's about Forum Usage. BTW I'm using Framework 3.5 and you ?
    My latest articles :
    Creating a Dockable Panel-Controlmanager Using C#, Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Part 7

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured