Movie player's seeking bar - how should I design one?
-
Hi I am creating a simple movie player with VC++ 6, and I am planning to create a custom control in the GUI for its seeking purpose (I want to be able to modify the color and look of the seeking bar). I am unsure though, which control should I inherit from for this purpose, CSliderCtrl or CProgressCtrl? CProgressCtrl seems appropriate because the seeking bar is periodically updated when the movie is playing, however, I also want the user to move the seeking bars, something which is provided by CSliderCtrl. Could someone help me on this? Or is there another control which is more appropriate than the two? Thanks!
-
Hi I am creating a simple movie player with VC++ 6, and I am planning to create a custom control in the GUI for its seeking purpose (I want to be able to modify the color and look of the seeking bar). I am unsure though, which control should I inherit from for this purpose, CSliderCtrl or CProgressCtrl? CProgressCtrl seems appropriate because the seeking bar is periodically updated when the movie is playing, however, I also want the user to move the seeking bars, something which is provided by CSliderCtrl. Could someone help me on this? Or is there another control which is more appropriate than the two? Thanks!
-
Hi I am creating a simple movie player with VC++ 6, and I am planning to create a custom control in the GUI for its seeking purpose (I want to be able to modify the color and look of the seeking bar). I am unsure though, which control should I inherit from for this purpose, CSliderCtrl or CProgressCtrl? CProgressCtrl seems appropriate because the seeking bar is periodically updated when the movie is playing, however, I also want the user to move the seeking bars, something which is provided by CSliderCtrl. Could someone help me on this? Or is there another control which is more appropriate than the two? Thanks!
I agree with the other reply. Use the CSliderCtrl and make it owner draw so it looks nicer :)
Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"