Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Movie player's seeking bar - how should I design one?

Movie player's seeking bar - how should I design one?

Scheduled Pinned Locked Moved C / C++ / MFC
c++designhelpquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    Indrawati
    wrote on last edited by
    #1

    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!

    T R 2 Replies Last reply
    0
    • I Indrawati

      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!

      T Offline
      T Offline
      Tyrus182
      wrote on last edited by
      #2

      i would use the slider control thats just my opinion since it can do anything the progress control can do it just looks different but if your gonna make it owner drawn anyways then why should it matter :P

      1 Reply Last reply
      0
      • I Indrawati

        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!

        R Offline
        R Offline
        Ryan Binns
        wrote on last edited by
        #3

        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"

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups