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

C / C++ / MFC

 
GeneralRe: Pointer or not pointer Pin
Anonymous29-Mar-04 4:52
Anonymous29-Mar-04 4:52 
GeneralThreads Pin
SatyaDY28-Mar-04 19:38
SatyaDY28-Mar-04 19:38 
GeneralRe: Threads Pin
Prakash Nadar28-Mar-04 21:10
Prakash Nadar28-Mar-04 21:10 
GeneralRe: Threads Pin
SiddharthAtw28-Mar-04 22:57
SiddharthAtw28-Mar-04 22:57 
GeneralRe: Threads Pin
Prakash Nadar28-Mar-04 23:06
Prakash Nadar28-Mar-04 23:06 
GeneralRe: Threads Pin
Tim Smith29-Mar-04 4:14
Tim Smith29-Mar-04 4:14 
GeneralRe: Threads Pin
Prakash Nadar29-Mar-04 5:44
Prakash Nadar29-Mar-04 5:44 
GeneralRe: Threads Pin
Tim Smith29-Mar-04 4:13
Tim Smith29-Mar-04 4:13 
You can have as many message loops in your thread as you wish. I commonly have three or four. Another question is how many message queues can a thread have. The answer to that is only one.

When you display a dialog (using standard Windows), it uses it's own internal message loop to process the message while your main application has the primary message loop used for normal processing.

Often, when an application needs to process messages during an operation that will take a lot of time, another message loop is used to pump the messages from the message queue.

So as you can see, you can have many message loops. But you usually only worry about the primary message loop.

Tim Smith

I'm going to patent thought. I have yet to see any prior art.
GeneralRe: Threads Pin
SatyaDY29-Mar-04 17:20
SatyaDY29-Mar-04 17:20 
GeneralCreating shortcuts Pin
Vini Deep28-Mar-04 19:00
Vini Deep28-Mar-04 19:00 
GeneralRe: Creating shortcuts Pin
22491728-Mar-04 19:19
22491728-Mar-04 19:19 
GeneralRe: Creating shortcuts Pin
Milton Karimbekallil28-Mar-04 19:58
Milton Karimbekallil28-Mar-04 19:58 
GeneralRe: Creating shortcuts Pin
Vini Deep28-Mar-04 20:37
Vini Deep28-Mar-04 20:37 
QuestionRe[2]: Creating shortcuts Pin
sysop@HAL9K.com4-Feb-10 4:55
sysop@HAL9K.com4-Feb-10 4:55 
GeneralPrinting question Pin
Peter Mares28-Mar-04 18:26
Peter Mares28-Mar-04 18:26 
GeneralRe: Printing question Pin
Steve S29-Mar-04 0:34
Steve S29-Mar-04 0:34 
QuestionHow to draw a filled triangle Pin
vamsy krishna28-Mar-04 16:15
vamsy krishna28-Mar-04 16:15 
AnswerRe: How to draw a filled triangle Pin
Christian Graus28-Mar-04 16:27
protectorChristian Graus28-Mar-04 16:27 
GeneralRe: How to draw a filled triangle Pin
vamsy krishna28-Mar-04 16:49
vamsy krishna28-Mar-04 16:49 
GeneralRe: How to draw a filled triangle Pin
Christian Graus28-Mar-04 16:52
protectorChristian Graus28-Mar-04 16:52 
GeneralRe: How to draw a filled triangle Pin
Rick York28-Mar-04 20:06
mveRick York28-Mar-04 20:06 
GeneralRe: How to draw a filled triangle Pin
Steve S29-Mar-04 0:36
Steve S29-Mar-04 0:36 
GeneralRe: How to draw a filled triangle Pin
Antony M Kancidrowski29-Mar-04 2:26
Antony M Kancidrowski29-Mar-04 2:26 
GeneralRe: How to draw a filled triangle Pin
Christian Graus29-Mar-04 9:55
protectorChristian Graus29-Mar-04 9:55 
Generalending strings Pin
kfaday28-Mar-04 15:39
kfaday28-Mar-04 15:39 

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.