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

C / C++ / MFC

 
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 
AnswerRe: object of resize ,move,rotate with handles in realtime mode Pin
Rage23-Jun-06 3:36
professionalRage23-Jun-06 3:36 
GeneralRe: object of resize ,move,rotate with handles in realtime mode Pin
likeeverybody23-Jun-06 21:05
likeeverybody23-Jun-06 21:05 
AnswerRe: time Pin
Rage23-Jun-06 2:06
professionalRage23-Jun-06 2:06 
GeneralRe: time Pin
toxcct23-Jun-06 4:15
toxcct23-Jun-06 4:15 
QuestionSerial number of the attached monitor(s) Pin
dt-jh23-Jun-06 1:50
dt-jh23-Jun-06 1:50 
QuestionRe: Serial number of the attached monitor(s) Pin
David Crow23-Jun-06 2:44
David Crow23-Jun-06 2:44 
AnswerRe: Serial number of the attached monitor(s) Pin
dt-jh23-Jun-06 2:56
dt-jh23-Jun-06 2:56 
GeneralRe: Serial number of the attached monitor(s) Pin
David Crow23-Jun-06 3:01
David Crow23-Jun-06 3:01 
GeneralRe: Serial number of the attached monitor(s) Pin
dt-jh23-Jun-06 3:12
dt-jh23-Jun-06 3:12 

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.