Click here to Skip to main content
15,888,977 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionChild Dialog gets hidden behind activex control [modified] Pin
indra27110-Dec-09 23:27
indra27110-Dec-09 23:27 
AnswerRe: Child Dialog gets hidden behind activex control Pin
Richard MacCutchan11-Dec-09 0:52
mveRichard MacCutchan11-Dec-09 0:52 
GeneralRe: Child Dialog gets hidden behind activex control Pin
indra27111-Dec-09 4:55
indra27111-Dec-09 4:55 
GeneralRe: Child Dialog gets hidden behind activex control Pin
Abhi Lahare11-Dec-09 5:26
Abhi Lahare11-Dec-09 5:26 
GeneralRe: Child Dialog gets hidden behind activex control Pin
Richard MacCutchan11-Dec-09 5:29
mveRichard MacCutchan11-Dec-09 5:29 
Questionmaking an non-blocking call in VC++ Pin
hrishiS10-Dec-09 23:03
hrishiS10-Dec-09 23:03 
AnswerRe: making an non-blocking call in VC++ Pin
CPallini10-Dec-09 23:15
mveCPallini10-Dec-09 23:15 
AnswerRe: making an non-blocking call in VC++ Pin
Cedric Moonen10-Dec-09 23:21
Cedric Moonen10-Dec-09 23:21 
You have to use events for that: you can wait (without consuming any CPU time) on an event to be notified. Typically what happens is that you have a thread pushing elements into your queue and a thread popping element from the queue. The thread popping elements wait on an event to be signaled by the other thread after he pushed something into the queue. You will also need to add proper synchronization on your queue to avoid accessing it from both threads at the same time.

I suggest you start by reading this article[^] which will give you an overview of threads and synchronization techniques.

Cédric Moonen
Software developer

Charting control [v2.0]
OpenGL game tutorial in C++

AnswerRe: making an non-blocking call in VC++ Pin
Rajesh R Subramanian10-Dec-09 23:47
professionalRajesh R Subramanian10-Dec-09 23:47 
AnswerRe: making an non-blocking call in VC++ Pin
softwaremonkey11-Dec-09 4:48
softwaremonkey11-Dec-09 4:48 
QuestionCatching WM_POWERBROADCAST message Pin
Still learning how to code10-Dec-09 22:57
Still learning how to code10-Dec-09 22:57 
AnswerRe: Catching WM_POWERBROADCAST message Pin
KarstenK11-Dec-09 1:04
mveKarstenK11-Dec-09 1:04 
GeneralRe: Catching WM_POWERBROADCAST message Pin
Still learning how to code11-Dec-09 1:51
Still learning how to code11-Dec-09 1:51 
GeneralRe: Catching WM_POWERBROADCAST message Pin
KarstenK11-Dec-09 2:04
mveKarstenK11-Dec-09 2:04 
GeneralRe: Catching WM_POWERBROADCAST message Pin
Still learning how to code11-Dec-09 10:20
Still learning how to code11-Dec-09 10:20 
AnswerRe: Catching WM_POWERBROADCAST message ---------------- *** SOLVED *** Pin
Still learning how to code13-Dec-09 12:01
Still learning how to code13-Dec-09 12:01 
QuestionMultithreading in vc++ Pin
mathy10-Dec-09 20:41
mathy10-Dec-09 20:41 
AnswerRe: Multithreading in vc++ Pin
Cedric Moonen10-Dec-09 20:47
Cedric Moonen10-Dec-09 20:47 
AnswerRe: Multithreading in vc++ Pin
CPallini10-Dec-09 21:04
mveCPallini10-Dec-09 21:04 
AnswerRe: Multithreading in vc++ Pin
Rajesh R Subramanian10-Dec-09 21:06
professionalRajesh R Subramanian10-Dec-09 21:06 
QuestionDiff Between ShowWindow and End Dialog Pin
002comp10-Dec-09 20:36
002comp10-Dec-09 20:36 
AnswerRe: Diff Between ShowWindow and End Dialog Pin
Cedric Moonen10-Dec-09 20:44
Cedric Moonen10-Dec-09 20:44 
AnswerRe: Diff Between ShowWindow and End Dialog Pin
CPallini10-Dec-09 20:55
mveCPallini10-Dec-09 20:55 
GeneralRe: Diff Between ShowWindow and End Dialog Pin
002comp10-Dec-09 21:39
002comp10-Dec-09 21:39 
Questionprogarm code of c++ Pin
moinsheikh10-Dec-09 19:10
moinsheikh10-Dec-09 19:10 

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.