Hello,
Perhaps someone of you has an answer for me.
I want to build up my own On/Off Buttons and rotate Knobs.
Did anybody do the same in the past?
Could you please give me a hint where to start or read?
Thanx,
Micha.
Buttons and Knobs Topic is solved
-
- wxWorld Domination!
- Posts: 1339
- Joined: Wed Aug 03, 2005 8:10 am
- Location: BANGALORE, INDIA
- Contact:
I think he means the volume control buttons of analog players.
You have to make some custom buttons for the same, I don't think there are some ready made, but its not too hard to make the same. You have to trap the mouse left button and CaptureMouse, and when the mouse goes to the right increase the volume and when it goes left decrease the volume, also change the bitmap of the button when the mouse is moving and the button HasCapture. On the button up event ReleaseMouse.
You have to make some custom buttons for the same, I don't think there are some ready made, but its not too hard to make the same. You have to trap the mouse left button and CaptureMouse, and when the mouse goes to the right increase the volume and when it goes left decrease the volume, also change the bitmap of the button when the mouse is moving and the button HasCapture. On the button up event ReleaseMouse.