Click here to Skip to main content
15,910,872 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionIs this correct initialization of MFC controls? Pin
Lord Kixdemp26-Oct-06 10:50
Lord Kixdemp26-Oct-06 10:50 
AnswerRe: Is this correct initialization of MFC controls? Pin
David Crow26-Oct-06 10:58
David Crow26-Oct-06 10:58 
GeneralRe: Is this correct initialization of MFC controls? Pin
Lord Kixdemp26-Oct-06 11:33
Lord Kixdemp26-Oct-06 11:33 
GeneralRe: Is this correct initialization of MFC controls? Pin
Hamid_RT26-Oct-06 20:44
Hamid_RT26-Oct-06 20:44 
GeneralRe: Is this correct initialization of MFC controls? Pin
Lord Kixdemp27-Oct-06 8:15
Lord Kixdemp27-Oct-06 8:15 
GeneralRe: Is this correct initialization of MFC controls? Pin
Hamid_RT27-Oct-06 21:28
Hamid_RT27-Oct-06 21:28 
AnswerRe: Question about modeless dialog box Pin
David Crow26-Oct-06 11:02
David Crow26-Oct-06 11:02 
QuestionNeed a worker thread wait timer.. Pin
aquawicket26-Oct-06 8:24
aquawicket26-Oct-06 8:24 
I have a worker thread that needs to wait a certain amount of miliseconds before resuming..

I would just got the for(i=0; i<10000000000; i++) route, but i'm afaid it will eat up the CPU. I'm trying to stay out of a loop but stay in the worker thread.
I need my main thread to be very alert and time accurate while this worker thread is waiting.

I've looked at all the timer functions.. can't seem to find the one to do the trick..
any ideas.. ?


Workthread()
{
//do some processing
//wait
//do more processing
//return
}
AnswerRe: Need a worker thread wait timer.. Pin
led mike26-Oct-06 8:29
led mike26-Oct-06 8:29 
AnswerRe: Need a worker thread wait timer.. Pin
Mark Salsbery26-Oct-06 8:30
Mark Salsbery26-Oct-06 8:30 
GeneralRe: Need a worker thread wait timer.. Pin
led mike26-Oct-06 8:35
led mike26-Oct-06 8:35 
GeneralRe: Need a worker thread wait timer.. Pin
Mark Salsbery26-Oct-06 8:41
Mark Salsbery26-Oct-06 8:41 
GeneralRe: Need a worker thread wait timer.. Pin
aquawicket26-Oct-06 9:09
aquawicket26-Oct-06 9:09 
GeneralRe: Need a worker thread wait timer.. Pin
ThatsAlok28-Oct-06 1:26
ThatsAlok28-Oct-06 1:26 
QuestionSimple Picture Control Usage Pin
jerry1211a26-Oct-06 8:05
jerry1211a26-Oct-06 8:05 
AnswerRe: Simple Picture Control Usage Pin
Mark Salsbery26-Oct-06 8:40
Mark Salsbery26-Oct-06 8:40 
GeneralRe: Simple Picture Control Usage Pin
jerry1211a26-Oct-06 8:45
jerry1211a26-Oct-06 8:45 
GeneralRe: Simple Picture Control Usage Pin
Mark Salsbery26-Oct-06 8:49
Mark Salsbery26-Oct-06 8:49 
AnswerRe: Simple Picture Control Usage Pin
David Crow26-Oct-06 9:05
David Crow26-Oct-06 9:05 
GeneralRe: Simple Picture Control Usage Pin
jerry1211a26-Oct-06 9:09
jerry1211a26-Oct-06 9:09 
AnswerRe: Simple Picture Control Usage Pin
Hamid_RT26-Oct-06 19:40
Hamid_RT26-Oct-06 19:40 
Questionto make a tab key work Pin
prithaa26-Oct-06 7:54
prithaa26-Oct-06 7:54 
AnswerRe: to make a tab key work Pin
Rajesh R Subramanian26-Oct-06 20:13
professionalRajesh R Subramanian26-Oct-06 20:13 
GeneralRe: to make a tab key work Pin
prithaa26-Oct-06 21:29
prithaa26-Oct-06 21:29 
GeneralRe: to make a tab key work Pin
Rajesh R Subramanian26-Oct-06 21:42
professionalRajesh R Subramanian26-Oct-06 21:42 

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.