Click here to Skip to main content
15,884,298 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to mute sound from the speakers in any video file ....MFC.? Pin
mbatra313-Jun-13 19:44
mbatra313-Jun-13 19:44 
AnswerRe: How to mute sound from the speakers in any video file ....MFC.? Pin
ThatsAlok3-Jun-13 20:01
ThatsAlok3-Jun-13 20:01 
AnswerRe: How to mute sound from the speakers in any video file ....MFC.? Pin
David Crow4-Jun-13 3:53
David Crow4-Jun-13 3:53 
QuestionHow to Pause and continue the Progress bar in MFC.? Pin
mbatra313-Jun-13 19:39
mbatra313-Jun-13 19:39 
AnswerRe: How to Pause and continue the Progress bar in MFC.? Pin
ThatsAlok3-Jun-13 20:09
ThatsAlok3-Jun-13 20:09 
GeneralRe: How to Pause and continue the Progress bar in MFC.? Pin
mbatra313-Jun-13 20:20
mbatra313-Jun-13 20:20 
GeneralRe: How to Pause and continue the Progress bar in MFC.? Pin
ThatsAlok3-Jun-13 20:29
ThatsAlok3-Jun-13 20:29 
GeneralRe: How to Pause and continue the Progress bar in MFC.? Pin
mbatra313-Jun-13 21:28
mbatra313-Jun-13 21:28 
Hi,

I was able to Pause the progress Bar on clicking Pause btn and again start from the same position on Play button, But Still unable to do the same for Timer.

I am using this piece of code to get the current time elapsed and display the same in the static and also stop the timer at that point.

C#
KillTimer(nVID);
m_VideoPlay = 0;

GetTime = CTime::GetCurrentTime();

CString t = GetTimeElapsed(GetTime);
mStaticElapsedTime.SetWindowTextW(t);


GetTimeElapsed

() function returns the time in CString format (00:00:00) to display in a static box.


KillTimer function not working here.



Regards,
Mbatra
GeneralRe: How to Pause and continue the Progress bar in MFC.? Pin
ThatsAlok3-Jun-13 22:37
ThatsAlok3-Jun-13 22:37 
GeneralRe: How to Pause and continue the Progress bar in MFC.? Pin
mbatra313-Jun-13 22:44
mbatra313-Jun-13 22:44 
GeneralRe: How to Pause and continue the Progress bar in MFC.? Pin
ThatsAlok3-Jun-13 23:43
ThatsAlok3-Jun-13 23:43 
GeneralRe: How to Pause and continue the Progress bar in MFC.? Pin
mbatra313-Jun-13 23:51
mbatra313-Jun-13 23:51 
AnswerRe: How to Pause and continue the Progress bar in MFC.? Pin
David Crow4-Jun-13 3:52
David Crow4-Jun-13 3:52 
GeneralRe: How to Pause and continue the Progress bar in MFC.? Pin
mbatra314-Jun-13 18:46
mbatra314-Jun-13 18:46 
QuestionUseage about OPCODE collision detection Pin
Henry Hong2-Jun-13 22:30
Henry Hong2-Jun-13 22:30 
AnswerRe: Useage about OPCODE collision detection Pin
Richard MacCutchan2-Jun-13 23:17
mveRichard MacCutchan2-Jun-13 23:17 
GeneralRe: Useage about OPCODE collision detection Pin
Henry Hong3-Jun-13 15:55
Henry Hong3-Jun-13 15:55 
GeneralRe: Useage about OPCODE collision detection Pin
Richard MacCutchan3-Jun-13 20:52
mveRichard MacCutchan3-Jun-13 20:52 
GeneralRe: Useage about OPCODE collision detection Pin
Henry Hong3-Jun-13 22:15
Henry Hong3-Jun-13 22:15 
GeneralRe: Useage about OPCODE collision detection Pin
Richard MacCutchan3-Jun-13 22:22
mveRichard MacCutchan3-Jun-13 22:22 
GeneralRe: Useage about OPCODE collision detection Pin
Henry Hong3-Jun-13 22:35
Henry Hong3-Jun-13 22:35 
AnswerRe: Useage about OPCODE collision detection Pin
Chris Losinger4-Jun-13 4:05
professionalChris Losinger4-Jun-13 4:05 
QuestionHow to conditional call a library Pin
thanh_bkhn2-Jun-13 19:00
professionalthanh_bkhn2-Jun-13 19:00 
AnswerRe: How to conditional call a library Pin
«_Superman_»2-Jun-13 20:35
professional«_Superman_»2-Jun-13 20:35 
GeneralRe: How to conditional call a library Pin
thanh_bkhn3-Jun-13 16:05
professionalthanh_bkhn3-Jun-13 16:05 

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.