I feel a little silly asking this, seems pretty simple but I can't find
the solution anywhere. I have a trackbar made in visual studio 2008
and I want to use it to adjust an image threshold but I can't find the code
to retrieve the sliders/markers position. Any help would be much
appreciated and I am using C++
I'm using a TrackBar control. By default its values are int32. I would
really like to use decimal values so the use can select at a more granular
level. How can I get the TrackBar control to except floats?
In the code below I've created a loop which keeps running till 'q' is
pressed. I'm using trackbars to set 2 variables. However I want to create
some sort of pause to set these trackbars before running through this loop.
The getch() function however, freezes the entire program until I press a
keyand doesn't allow me to edit the trackbars. Is it possible to create
some sort of pause which does al
Is there a reasonably simplistic way to combine a trackbar with a
progress bar? What I'd like to be able to accomplish it so that the
progressbar only goes up to the trackbar when a button is clicked. This is
mainly for learning purposes but would be nice to know how to use it in a
practical way as well.
this might be a very global question but here we go:
wondering how I could make a trackbar like Virtualbox. They have a
trackbar that have custom colors at the bottom to show if you've assigned
too much RAM to your virtual system. Now my question is: How can I give
my trackbar custom colors? I have read something about e.graphics etc
and overriding other funtions,
I am building a Windows Forms applicaton in C# and have a
TrackBar on my Form. How can I compute the (pixel) position of
the tip of the tracker? I would like to draw a line from there to another
point on my form. Additionally I also would like to compute the lowest
and highest possible x position of the tip.