Click to See Complete Forum and Search --> : Directshow seek bar question


Klein
June 17th, 2004, 11:17 AM
hi all,
I'm working on implementing a seek bar in a form view in a mfc application. The application displays avi files using DirectShow .. When the mouse is clicked on the seek bar, the thumb traverses to the next frequency tick (something similar the windows master volume seek bar. How can i change this to seek the current position of the mouse in the seek bar (something similar windows media player seek bar) ? ...

1. is there anything similar to MCIWndGetPosition(hwnd) in Directshow which can seek to the desired position in the video, using which the track bar can be set ?

2. can anyone plz give some examples or hints ..

thx a lot