Click here to Skip to main content
15,885,366 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CSingleLock problem Pin
James R. Twine17-Feb-06 3:44
James R. Twine17-Feb-06 3:44 
QuestionMulti-tasking and threads Pin
theprinc17-Feb-06 2:12
theprinc17-Feb-06 2:12 
AnswerRe: Multi-tasking and threads Pin
David Crow17-Feb-06 2:32
David Crow17-Feb-06 2:32 
QuestionRe: Multi-tasking and threads Pin
theprinc17-Feb-06 2:42
theprinc17-Feb-06 2:42 
AnswerRe: Multi-tasking and threads Pin
Cedric Moonen17-Feb-06 2:49
Cedric Moonen17-Feb-06 2:49 
AnswerRe: Multi-tasking and threads Pin
David Crow17-Feb-06 2:51
David Crow17-Feb-06 2:51 
GeneralRe: Multi-tasking and threads Pin
theprinc17-Feb-06 3:01
theprinc17-Feb-06 3:01 
GeneralRe: Multi-tasking and threads Pin
David Crow17-Feb-06 3:10
David Crow17-Feb-06 3:10 
The primary thread, the one that owns the GUI, has a message queue, and a message pump to process messages in that queue. See here for more.

theprinc wrote:
The secondary thread would be sending lots of messages


For just the updating of a progress bar? Even so, it's doubtful you'll exceed the maximum size of the message queue. You might look at using an I/O Completion Port to queue messages to the main GUI thread. See here for an example.


"The greatest good you can do for another is not just to share your riches but to reveal to him his own." - Benjamin Disraeli


GeneralRe: Multi-tasking and threads Pin
theprinc17-Feb-06 3:25
theprinc17-Feb-06 3:25 
QuestionRe: Multi-tasking and threads Pin
David Crow17-Feb-06 3:27
David Crow17-Feb-06 3:27 
AnswerRe: Multi-tasking and threads Pin
theprinc17-Feb-06 3:59
theprinc17-Feb-06 3:59 
GeneralRe: Multi-tasking and threads Pin
David Crow17-Feb-06 4:26
David Crow17-Feb-06 4:26 
QuestionFrame Pane Fixing Problem! Pin
Temp8317-Feb-06 1:48
Temp8317-Feb-06 1:48 
AnswerRe: Frame Pane Fixing Problem! Pin
Cedric Moonen17-Feb-06 2:06
Cedric Moonen17-Feb-06 2:06 
AnswerRe: Frame Pane Fixing Problem! Pin
David Crow17-Feb-06 2:34
David Crow17-Feb-06 2:34 
AnswerRe: Frame Pane Fixing Problem! Pin
Russell'17-Feb-06 2:43
Russell'17-Feb-06 2:43 
Questionserial port data communication in Visual c++ Pin
omprakashsingh17-Feb-06 1:46
omprakashsingh17-Feb-06 1:46 
AnswerRe: serial port data communication in Visual c++ Pin
Cedric Moonen17-Feb-06 2:02
Cedric Moonen17-Feb-06 2:02 
QuestionRe: serial port data communication in Visual c++ Pin
David Crow17-Feb-06 2:35
David Crow17-Feb-06 2:35 
AnswerRe: serial port data communication in Visual c++ Pin
ThatsAlok17-Feb-06 23:11
ThatsAlok17-Feb-06 23:11 
AnswerRe: serial port data communication in Visual c++ Pin
LittleYellowBird17-Feb-06 2:20
LittleYellowBird17-Feb-06 2:20 
AnswerRe: serial port data communication in Visual c++ Pin
ThatsAlok17-Feb-06 23:14
ThatsAlok17-Feb-06 23:14 
QuestionEvent Notification USing WMI Pin
abhiramsss17-Feb-06 1:24
abhiramsss17-Feb-06 1:24 
QuestionFile or Folder Pin
pc_dev17-Feb-06 1:23
pc_dev17-Feb-06 1:23 
AnswerRe: File or Folder Pin
James R. Twine17-Feb-06 1:29
James R. Twine17-Feb-06 1:29 

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.