Click here to Skip to main content
15,791,891 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Change Display mode??? Pin
Steve Echols23-Jun-06 6:41
Steve Echols23-Jun-06 6:41 
GeneralRe: Change Display mode??? Pin
Lord_Vader23-Jun-06 8:21
Lord_Vader23-Jun-06 8:21 
AnswerRe: help me to create mouse stick Pin
Cedric Moonen23-Jun-06 5:01
Cedric Moonen23-Jun-06 5:01 
GeneralRe: help me to create mouse stick Pin
nyquisttt23-Jun-06 5:05
nyquisttt23-Jun-06 5:05 
GeneralRe: help me to create mouse stick Pin
Jun Du23-Jun-06 6:59
Jun Du23-Jun-06 6:59 
GeneralRe: help me to create mouse stick Pin
Tara1423-Jun-06 7:04
Tara1423-Jun-06 7:04 
QuestionTo stop some activity Pin
rajeevktripathi23-Jun-06 4:44
rajeevktripathi23-Jun-06 4:44 
AnswerRe: To stop some activity Pin
Cedric Moonen23-Jun-06 5:00
Cedric Moonen23-Jun-06 5:00 
Start the scanning of the resgistry in a separate thread that runs an "infinite loop". This loop can be finished either when the scan is complete or when a variable is set to false. Something like that (pseudo-code):

while (bContinue)
{
  // Process next key
  if (LastKey == true)
    bContinue = false;
}


This variable can be set through the main thread but you have to make it thread safe (for example use a critical section). If you are new to thread, I suggest you read some documentation about that because it can be difficult for a beginner.


Cédric Moonen
Software developer

Charting control
AnswerRe: To stop some activity [modified] Pin
ovidiucucu23-Jun-06 5:03
ovidiucucu23-Jun-06 5:03 
GeneralRe: To stop some activity Pin
Cedric Moonen23-Jun-06 5:10
Cedric Moonen23-Jun-06 5:10 
GeneralRe: To stop some activity [modified] Pin
ovidiucucu23-Jun-06 5:25
ovidiucucu23-Jun-06 5:25 
GeneralRe: To stop some activity Pin
David Crow23-Jun-06 5:18
David Crow23-Jun-06 5:18 
GeneralRe: To stop some activity Pin
ovidiucucu23-Jun-06 5:40
ovidiucucu23-Jun-06 5:40 
GeneralRe: To stop some activity Pin
David Crow23-Jun-06 5:51
David Crow23-Jun-06 5:51 
GeneralRe: To stop some activity Pin
Jun Du23-Jun-06 7:07
Jun Du23-Jun-06 7:07 
AnswerRe: To stop some activity Pin
rajeevktripathi23-Jun-06 9:22
rajeevktripathi23-Jun-06 9:22 
Questionobject of resize ,move,rotate with handles in realtime mode [modified] Pin
nn813723-Jun-06 4:05
nn813723-Jun-06 4:05 
AnswerRe: object of resize ,move,rotate with handles in realtime mode Pin
Rage23-Jun-06 4:36
professionalRage23-Jun-06 4:36 
GeneralRe: object of resize ,move,rotate with handles in realtime mode Pin
likeeverybody23-Jun-06 22:05
likeeverybody23-Jun-06 22:05 
AnswerRe: time Pin
Rage23-Jun-06 3:06
professionalRage23-Jun-06 3:06 
GeneralRe: time Pin
toxcct23-Jun-06 5:15
toxcct23-Jun-06 5:15 
QuestionSerial number of the attached monitor(s) Pin
dt-jh23-Jun-06 2:50
dt-jh23-Jun-06 2:50 
QuestionRe: Serial number of the attached monitor(s) Pin
David Crow23-Jun-06 3:44
David Crow23-Jun-06 3:44 
AnswerRe: Serial number of the attached monitor(s) Pin
dt-jh23-Jun-06 3:56
dt-jh23-Jun-06 3:56 
GeneralRe: Serial number of the attached monitor(s) Pin
David Crow23-Jun-06 4:01
David Crow23-Jun-06 4:01 

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.