Click here to Skip to main content
15,921,989 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionQuestion regarding updates Pin
maycockt24-Feb-10 0:11
maycockt24-Feb-10 0:11 
AnswerRe: Question regarding updates Pin
KingsGambit24-Feb-10 0:50
KingsGambit24-Feb-10 0:50 
GeneralRe: Question regarding updates Pin
maycockt24-Feb-10 0:57
maycockt24-Feb-10 0:57 
QuestionRe: Question regarding updates Pin
David Crow24-Feb-10 3:26
David Crow24-Feb-10 3:26 
AnswerRe: Question regarding updates Pin
maycockt24-Feb-10 4:18
maycockt24-Feb-10 4:18 
QuestionIdentifying real MAC address Pin
Nishad S23-Feb-10 23:49
Nishad S23-Feb-10 23:49 
AnswerRe: Identifying real MAC address Pin
Richard MacCutchan24-Feb-10 0:54
mveRichard MacCutchan24-Feb-10 0:54 
GeneralRe: Identifying real MAC address Pin
Nishad S24-Feb-10 15:59
Nishad S24-Feb-10 15:59 
GeneralRe: Identifying real MAC address Pin
Richard MacCutchan24-Feb-10 21:45
mveRichard MacCutchan24-Feb-10 21:45 
GeneralRe: Identifying real MAC address Pin
Nishad S25-Feb-10 1:43
Nishad S25-Feb-10 1:43 
GeneralRe: Identifying real MAC address Pin
Richard MacCutchan25-Feb-10 3:10
mveRichard MacCutchan25-Feb-10 3:10 
AnswerRe: Identifying real MAC address Pin
Adam Roderick J24-Feb-10 1:33
Adam Roderick J24-Feb-10 1:33 
QuestionHow to capture a SetLastError (VS2008) / debug? Pin
Simon Langdon23-Feb-10 22:59
Simon Langdon23-Feb-10 22:59 
AnswerRe: How to capture a SetLastError (VS2008) / debug? Pin
Code-o-mat23-Feb-10 23:12
Code-o-mat23-Feb-10 23:12 
AnswerRe: How to capture a SetLastError (VS2008) / debug? Pin
«_Superman_»23-Feb-10 23:33
professional«_Superman_»23-Feb-10 23:33 
AnswerRe: How to capture a SetLastError (VS2008) / debug? Pin
Eugen Podsypalnikov23-Feb-10 23:36
Eugen Podsypalnikov23-Feb-10 23:36 
GeneralRe: How to capture a SetLastError (VS2008) / debug? Pin
Simon Langdon24-Feb-10 0:24
Simon Langdon24-Feb-10 0:24 
QuestionMessage Queues Pin
sharda.bhagwatkar23-Feb-10 22:13
sharda.bhagwatkar23-Feb-10 22:13 
AnswerRe: Message Queues Pin
Rajesh R Subramanian23-Feb-10 22:52
professionalRajesh R Subramanian23-Feb-10 22:52 
GeneralRe: Message Queues Pin
Roger Stoltz23-Feb-10 23:14
Roger Stoltz23-Feb-10 23:14 
GeneralRe: Message Queues Pin
Rajesh R Subramanian23-Feb-10 23:27
professionalRajesh R Subramanian23-Feb-10 23:27 
GeneralRe: Message Queues Pin
sharda.bhagwatkar24-Feb-10 0:40
sharda.bhagwatkar24-Feb-10 0:40 
GeneralRe: Message Queues Pin
Roger Stoltz24-Feb-10 1:04
Roger Stoltz24-Feb-10 1:04 
GeneralRe: Message Queues Pin
Rajesh R Subramanian24-Feb-10 1:56
professionalRajesh R Subramanian24-Feb-10 1:56 
AnswerRe: Message Queues Pin
Roger Stoltz23-Feb-10 22:57
Roger Stoltz23-Feb-10 22:57 
sharda.bhagwatkar wrote:
Are there separate message queues for each window or each thread has its own message queue.


A window does not have a message queue of its own. Multiple windows may be served by the message queue and message pump in the User Interface thread that the windows are created from.
In e.g. a simple dialog-based application there is initially only one thread and even if you create new windows, they will be served by the message queue in that thread. Keep in mind that all those small buttons and other controls are windows as well.

Every thread spawned is initially without a message queue. There are two kind of threads: worker threads and User Interface threads. Worker threads won't have a message queue, but UI-threads will get a message queue created when a message is sent, or posted, to the thread.

Read more about it in this small section[^].

"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown


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.