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

C / C++ / MFC

 
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 
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 4:03
ovidiucucu23-Jun-06 4:03 
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 

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.