Click here to Skip to main content
15,890,845 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
mbatra31 wrote:
For example, when the progress dialog starts, the user click on the "pause" button, the progress bar must be paused until the "continue" button is pressed but I don't know how to pause the progress when the pause button is pressed and how to continue the progress bar when the continue button is pressed.
This is all laid out in that article I linked you to earlier. When the timer is fired, DoTimerStuff() is called. That function checks to see if the audio file is playing. If not, nothing happens (i.e., the progress bar is not updated).

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous


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 
AnswerRe: How to conditional call a library Pin
David Crow3-Jun-13 2:54
David Crow3-Jun-13 2:54 
GeneralRe: How to conditional call a library Pin
thanh_bkhn3-Jun-13 16:06
professionalthanh_bkhn3-Jun-13 16:06 
AnswerRe: How to conditional call a library Pin
chaau3-Jun-13 18:28
chaau3-Jun-13 18:28 
GeneralRe: How to conditional call a library Pin
thanh_bkhn3-Jun-13 20:32
professionalthanh_bkhn3-Jun-13 20:32 
QuestionHow to mute soundin a audio / video file using directshow mfc.? Pin
mbatra311-Jun-13 1:16
mbatra311-Jun-13 1:16 

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.