I've used the picture control to make a few custom controls that were not possible with the standard controls by just customizing them.
The attached library is a fancy demo version of a slider I needed several years ago. The slider needed to act more like a potentiometer and output values that were in between the current value and the selected value. The standard slider will jump directly from the current value to the selected value with nothing in between. This caused a problem for the controller we were sending the values to.
So I came up with a slider using the picture control and some code to ramp the value up and down. I then made this demo version just to see how far I could take it. It adds settable min/max range and displays the scale, the ability to have the slider return to center/min/max when the mouse is released or stay put and you can change the displayed colors.
This was written (and saved) in 6.0.2, but runs fine in anything higher than that.
Just for the record (and to help future browsing), I have posted an example that uses the picture control to move a bunch of booleans around in a "random walk" manner in this thread. The example is "Obfuse_Picture".
Hummmm... To prowl... That's again a word I ignored before. I'll add it to tst's "disgruntled" to start a nice collection. If any of you want to improve his French, just to maintain some symetry in the exchange, don't hesitate...
Chilly Charly (aka CC)
E-List Master - Kudos glutton - Press the yellow button on the left...