Visual C++ Example:
Transparent
MFC CSliderCtrl Source
Code
|
Nic Wilson
December 19, 2001
Environment:
Visual C++ /
VC++ V6.0
This is a MFC
transparent CSliderCtrl
class, as it uses CSliderCtrl
as its base class it can be used as a replacement class
for any CSliderCtrl
object. Tic marks are fully supported as can be seen in
the screen shot above. To use, add this class to your
project. Add your sliders to your project normally, then
change the CSliderCtrl
type in your .h file to CMySliderControl and #include the
MySliderControl.h file. Once compiled your sliders will be
transparent and if you have auto tics set then these too
will show.
For the
code, see the download
source code and example
project
Downloads
Download
demo project - 41Kb
Download source - 4Kb
|