Click here to Skip to main content
16,013,338 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMultiple Threads Pin
Dangleberry24-Jul-03 5:46
sussDangleberry24-Jul-03 5:46 
GeneralRe: Multiple Threads Pin
John M. Drescher24-Jul-03 5:50
John M. Drescher24-Jul-03 5:50 
GeneralRe: Multiple Threads Pin
Anonymous24-Jul-03 6:26
Anonymous24-Jul-03 6:26 
GeneralRe: Multiple Threads Pin
Dangleberry24-Jul-03 6:27
sussDangleberry24-Jul-03 6:27 
GeneralRe: Multiple Threads Pin
Alexander M.,24-Jul-03 6:49
Alexander M.,24-Jul-03 6:49 
GeneralRe: Multiple Threads Pin
John M. Drescher24-Jul-03 6:55
John M. Drescher24-Jul-03 6:55 
GeneralRe: Multiple Threads Pin
Alexander M.,25-Jul-03 2:33
Alexander M.,25-Jul-03 2:33 
GeneralRe: Multiple Threads Pin
Dangleberry25-Jul-03 3:52
sussDangleberry25-Jul-03 3:52 
Cheers for your responses, I've read the MSDN SetWindowsHookEx article which hooks the thread/process to the peekmessage pump. However, it seems to be event driven so when the peekmessage function is called from the app, the hook gets activated and the thread can handle the message if it wants. I think what I need is a message pump in its own thread that diverts messages to the appropriate thread depending on the application status, I think this solution will be a bit neater than stealing an apps messages. What do you reckon?

Alan.

And don't repeat yourself Smile | :)
Gareth Gates is on tv too much Smile | :)
Generaldetecting screen display area Pin
Shay Harel24-Jul-03 4:16
Shay Harel24-Jul-03 4:16 
GeneralRe: detecting screen display area Pin
Iain Clarke, Warrior Programmer24-Jul-03 4:29
Iain Clarke, Warrior Programmer24-Jul-03 4:29 
GeneralRe: detecting screen display area Pin
Shay Harel24-Jul-03 4:48
Shay Harel24-Jul-03 4:48 
GeneralRe: detecting screen display area Pin
Frank K24-Jul-03 4:30
Frank K24-Jul-03 4:30 
QuestionHow to get data from a retrieve data from a list box (activeX control) Pin
Deepak Samuel24-Jul-03 3:55
Deepak Samuel24-Jul-03 3:55 
AnswerRe: How to get data from a retrieve data from a list box (activeX control) Pin
Michael P Butler24-Jul-03 6:42
Michael P Butler24-Jul-03 6:42 
GeneralTwo dimensional array problem Pin
superstein24-Jul-03 3:02
superstein24-Jul-03 3:02 
GeneralRe: Two dimensional array problem Pin
Alexander M.,24-Jul-03 3:06
Alexander M.,24-Jul-03 3:06 
GeneralRe: Two dimensional array problem Pin
John M. Drescher24-Jul-03 3:19
John M. Drescher24-Jul-03 3:19 
GeneralRe: Two dimensional array problem Pin
John M. Drescher24-Jul-03 3:32
John M. Drescher24-Jul-03 3:32 
GeneralRe: Two dimensional array problem Pin
superstein24-Jul-03 3:28
superstein24-Jul-03 3:28 
GeneralRe: Two dimensional array problem Pin
Cedric Moonen24-Jul-03 3:39
Cedric Moonen24-Jul-03 3:39 
GeneralRe: Two dimensional array problem Pin
Bob Stanneveld24-Jul-03 11:17
Bob Stanneveld24-Jul-03 11:17 
GeneralRe: Two dimensional array problem Pin
John M. Drescher24-Jul-03 3:40
John M. Drescher24-Jul-03 3:40 
GeneralSorry... Pin
John M. Drescher24-Jul-03 7:28
John M. Drescher24-Jul-03 7:28 
GeneralRe: Two dimensional array problem Pin
Cedric Moonen24-Jul-03 3:08
Cedric Moonen24-Jul-03 3:08 
GeneralRe: Two dimensional array problem Pin
John M. Drescher24-Jul-03 3:09
John M. Drescher24-Jul-03 3:09 

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.