Click here to Skip to main content
15,911,711 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: modules Pin
Jun Du23-Jun-06 6:13
Jun Du23-Jun-06 6:13 
AnswerRe: modules Pin
David Crow23-Jun-06 6:28
David Crow23-Jun-06 6:28 
GeneralRe: modules Pin
Tara1423-Jun-06 6:33
Tara1423-Jun-06 6:33 
GeneralRe: modules Pin
Jun Du23-Jun-06 7:05
Jun Du23-Jun-06 7:05 
GeneralRe: modules Pin
Tara1423-Jun-06 7:44
Tara1423-Jun-06 7:44 
GeneralRe: modules Pin
David Crow23-Jun-06 7:23
David Crow23-Jun-06 7:23 
QuestionChange Display mode??? Pin
Lord_Vader23-Jun-06 4:52
Lord_Vader23-Jun-06 4:52 
AnswerRe: Change Display mode??? Pin
Zac Howland23-Jun-06 5:41
Zac Howland23-Jun-06 5:41 
AnswerRe: Change Display mode??? Pin
Steve Echols23-Jun-06 5:41
Steve Echols23-Jun-06 5:41 
GeneralRe: Change Display mode??? Pin
Lord_Vader23-Jun-06 7:21
Lord_Vader23-Jun-06 7:21 
AnswerRe: help me to create mouse stick Pin
Cedric Moonen23-Jun-06 4:01
Cedric Moonen23-Jun-06 4:01 
GeneralRe: help me to create mouse stick Pin
nyquisttt23-Jun-06 4:05
nyquisttt23-Jun-06 4:05 
GeneralRe: help me to create mouse stick Pin
Jun Du23-Jun-06 5:59
Jun Du23-Jun-06 5:59 
GeneralRe: help me to create mouse stick Pin
Tara1423-Jun-06 6:04
Tara1423-Jun-06 6:04 
QuestionTo stop some activity Pin
rajeevktripathi23-Jun-06 3:44
rajeevktripathi23-Jun-06 3:44 
AnswerRe: To stop some activity Pin
Cedric Moonen23-Jun-06 4:00
Cedric Moonen23-Jun-06 4:00 
AnswerRe: To stop some activity [modified] Pin
ovidiucucu23-Jun-06 4:03
ovidiucucu23-Jun-06 4:03 
First, I would like to recommend instead a message box, two buttons "Pause" and "Stop" in your main dialog.
Perform the registry scanning in a worker thread. When press "Pause", call SuspendThread dunction in order to suspend registry scanning and change the button caption from "Pause" to "Resume". When the user press "Resume", call ResumeThread to start scanning again.
When the user press "Stop" you can call TerminateThread.

Ovidiu
Microsoft MVP - Visual C++

@to Cédric: Why "infinite loop"?

-- modified at 10:09 Friday 23rd June, 2006
GeneralRe: To stop some activity Pin
Cedric Moonen23-Jun-06 4:10
Cedric Moonen23-Jun-06 4:10 
GeneralRe: To stop some activity [modified] Pin
ovidiucucu23-Jun-06 4:25
ovidiucucu23-Jun-06 4:25 
GeneralRe: To stop some activity Pin
David Crow23-Jun-06 4:18
David Crow23-Jun-06 4:18 
GeneralRe: To stop some activity Pin
ovidiucucu23-Jun-06 4:40
ovidiucucu23-Jun-06 4:40 
GeneralRe: To stop some activity Pin
David Crow23-Jun-06 4:51
David Crow23-Jun-06 4:51 
GeneralRe: To stop some activity Pin
Jun Du23-Jun-06 6:07
Jun Du23-Jun-06 6:07 
AnswerRe: To stop some activity Pin
rajeevktripathi23-Jun-06 8:22
rajeevktripathi23-Jun-06 8:22 
Questionobject of resize ,move,rotate with handles in realtime mode [modified] Pin
nn813723-Jun-06 3:05
nn813723-Jun-06 3: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.