We need a custom control that allows us to show the timeline of a video movie and add sperator/marker to the timeline.
Dynamic is the first point. This means, the movies have different lengths, like 50 mins, 1,5 hours or 3 hours. All this have to show in the control with a good ruler. The ticks inside the ruler will have in constant spaces a time info, where the tick of the timeinfo is bold and/or higher.
A popup menu inside the list (dynmaic, no resource) is needed to add/delete seperators/markers.
A clicked sperator/marker have to be selected so that there is a fine adjustment with the cursor keys (<- ->).
PLeaase take a look to this ruler at:
[login to view URL]
this is a good base for a ruler. Additional functions:
1.) Make sperator/marker from Icon. Like:
SetMarker(HICON xIcon); if this is not setted the control use the build in seperator like in the sample ruler.
2.) SetBorderColor and paint thi border (no 3dDraw)
3.) Callback have to give also the actual time that is selected in the control so that we can show this in a CEdit.
4.) Inside the ruler there have to be a thin red line that will indicate the actual position. So if the mouse moves over the ruler, this have to move, but also the position have to be setted from outside, like SetPositionMarker(int seconds).
5.) The seperators have to store inside a vector or similar cause they will contain a more exact timeinformation as the ruler can give/show. MEans it is difficult to show a 120mins Movie in the ruler and show the position at X seconds. So the control will show "Similar to the position" where the info of the sperator/marker will give the exact position.
6.) Only horizontal view is needed, no vertical.
The control will be used in a MFC Unicode software. So Unicode is a must.
A Sample programm is also needed (dialog based / MFc)