CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 1 of 1
  1. #1
    Join Date
    Oct 2009

    Question Newbie - Knob/Slider Ocx help [SharpDevelop 3.1 - .net fw 3.5 - vb]

    Newbie here.
    I searched in the forum but didn't find what I was looking for.
    What I need is some kind of control that when you click on it and move your mouse vertically (or horizontally) it changes its value, and it changes its image.
    For example, this control can be used as a knob, like in the attachment.
    This control should have a list of images, so, when its value is 0, it shows image 0 of the list, with 1 it shows image 1 of the list, etc...
    I don't need to rotate the image, or have individual images for the wheel and the pointer. It's an entire image (like the three on the bottom of the attachment). All the knob controls that I found rotate images, or have images made by code instead of using bitmaps.
    - Does anyone have a code of something like this?
    - Is there a way of achieving this with a normal slider control, hiding it, and having a picture over it?
    - Does anyone have some kind of ocx similar to this one? Or maybe a link to a tutorial to start an ocx for newbies :P?
    - Is it posible to create something like this with transparencies?

    I'm using Sharpdevelop 3.1 with .net framwork 3.5, but I also have vb 6.0.

    Thanks! And remember... really really newbie here.... so I'll try my best to understand :P

    PS: If this isn't the right section for this thread, please move it.
    Attached Images Attached Images  

Tags for this Thread

Posting Permissions

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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.