Click here to Skip to main content
15,889,992 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCalculator in C Language Pin
anasshad3-Jul-13 2:11
anasshad3-Jul-13 2:11 
AnswerRe: Calculator in C Language Pin
Richard MacCutchan3-Jul-13 2:42
mveRichard MacCutchan3-Jul-13 2:42 
QuestionRe: Calculator in C Language Pin
Maximilien3-Jul-13 2:45
Maximilien3-Jul-13 2:45 
AnswerRe: Calculator in C Language Pin
Jonathan Davies3-Jul-13 3:03
Jonathan Davies3-Jul-13 3:03 
QuestionRe: Calculator in C Language Pin
David Crow3-Jul-13 4:47
David Crow3-Jul-13 4:47 
QuestionSlider not working properly.? Pin
mbatra312-Jul-13 23:52
mbatra312-Jul-13 23:52 
AnswerRe: Slider not working properly.? Pin
Maximilien3-Jul-13 3:01
Maximilien3-Jul-13 3:01 
GeneralRe: Slider not working properly.? Pin
mbatra313-Jul-13 3:16
mbatra313-Jul-13 3:16 
I have done this...its working ....

Please read below:

Hi,

I have a slider control on a dialog box. I am playing a video file and slider moves according to the video elapsed. Suppose I have set the slider range to 100. Now till some point say 90, the slider moves to the point wherever I click the mouse. but at the last point in between some range say 90 - 100 (to the end of the slider), if I click the mouse button anywhere, slider jumps to the end.

I am using a TimeLine control where user can add more than 1 video (1, 2, 4, 8, 10 , 50 etc......), If I use only one video, slider moves as per the video progression.....Issue arises when I add more than 1 video and click on the start button, slider starts moving....Now when I drag the slider to any position or I click the mouse button anywhere on the slider control, slider thumb moves to that position and immediately jumps back to some other position. This is the Issue, I am facing.

Can anybody share some sample code where slider is moving with the video showing the progress of the video.

I want to implement a functionality similar to VLC player. Wherever user clicks the mouse, slider moves to that point.



Any help will be appreciated.




Regards,
Mbatra
QuestionHow I get the Header HDC of listview in custom draw? Pin
JoneLe862-Jul-13 9:04
JoneLe862-Jul-13 9:04 
AnswerRe: How I get the Header HDC of listview in custom draw? Pin
Richard MacCutchan2-Jul-13 20:41
mveRichard MacCutchan2-Jul-13 20:41 
GeneralRe: How I get the Header HDC of listview in custom draw? Pin
JoneLe863-Jul-13 5:41
JoneLe863-Jul-13 5:41 
AnswerRe: How I get the Header HDC of listview in custom draw? Pin
Jochen Arndt2-Jul-13 21:11
professionalJochen Arndt2-Jul-13 21:11 
GeneralRe: How I get the Header HDC of listview in custom draw? Pin
JoneLe863-Jul-13 5:38
JoneLe863-Jul-13 5:38 
QuestionAVI Splitter Filter does not return its mediatype Pin
sdancer752-Jul-13 8:29
sdancer752-Jul-13 8:29 
AnswerRe: AVI Splitter Filter does not return its mediatype Pin
Richard MacCutchan2-Jul-13 20:37
mveRichard MacCutchan2-Jul-13 20:37 
GeneralRe: AVI Splitter Filter does not return its mediatype Pin
sdancer752-Jul-13 22:01
sdancer752-Jul-13 22:01 
QuestionRe: AVI Splitter Filter does not return its mediatype Pin
Richard MacCutchan2-Jul-13 22:10
mveRichard MacCutchan2-Jul-13 22:10 
AnswerRe: AVI Splitter Filter does not return its mediatype Pin
sdancer752-Jul-13 23:58
sdancer752-Jul-13 23:58 
AnswerRe: AVI Splitter Filter does not return its mediatype Pin
sdancer753-Jul-13 2:11
sdancer753-Jul-13 2:11 
QuestionProcess Failure at startup Pin
ForNow2-Jul-13 6:38
ForNow2-Jul-13 6:38 
AnswerRe: Process Failure at startup Pin
Santhosh G_2-Jul-13 7:24
Santhosh G_2-Jul-13 7:24 
GeneralRe: Process Failure at startup Pin
ForNow2-Jul-13 8:42
ForNow2-Jul-13 8:42 
GeneralRe: Process Failure at startup Pin
Santhosh G_2-Jul-13 16:21
Santhosh G_2-Jul-13 16:21 
GeneralRe: Process Failure at startup Pin
ForNow2-Jul-13 17:59
ForNow2-Jul-13 17:59 
QuestionWhere does the m_pMainWnd delete? Pin
yu-jian2-Jul-13 5:54
yu-jian2-Jul-13 5:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.