TrackBarGadget - WinAmp Style
Posted: Thu Dec 11, 2008 4:54 pm
I've been looking at changing this in my player for awhile but have not found a solution to it, as eventtype() doesn't reply with (as documented and tested) any type of event when the TrackBarGadget is clicked on, how do you modify a moving TrackBarGadget that is progressing though the song position?
The idea was before I got shut out by eventtype(), was to detect the left click, pause the song, and wait until the left mouse button was released and resume playing at the new position.
I can't pause the music on a trackbarevent() because it is constantly getting polled by setgadgetstate() events from the song playing, which would result in the song being played to be paused forever.
Any ideas?
The idea was before I got shut out by eventtype(), was to detect the left click, pause the song, and wait until the left mouse button was released and resume playing at the new position.
I can't pause the music on a trackbarevent() because it is constantly getting polled by setgadgetstate() events from the song playing, which would result in the song being played to be paused forever.
Any ideas?