Click here to Skip to main content
15,891,372 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: named IP to digital IP Pin
Tony Richards6-Nov-09 23:34
Tony Richards6-Nov-09 23:34 
GeneralRe: named IP to digital IP Pin
includeh107-Nov-09 2:10
includeh107-Nov-09 2:10 
AnswerRe: named IP to digital IP Pin
David Crow7-Nov-09 10:14
David Crow7-Nov-09 10:14 
AnswerRe: named IP to digital IP Pin
Moak7-Nov-09 15:46
Moak7-Nov-09 15:46 
Question"PostMessage" without window Pin
includeh106-Nov-09 22:26
includeh106-Nov-09 22:26 
AnswerRe: "PostMessage" without window Pin
Richard MacCutchan6-Nov-09 22:32
mveRichard MacCutchan6-Nov-09 22:32 
GeneralRe: "PostMessage" without window Pin
includeh106-Nov-09 22:41
includeh106-Nov-09 22:41 
AnswerRe: "PostMessage" without window Pin
Code-o-mat6-Nov-09 22:50
Code-o-mat6-Nov-09 22:50 
I am not sure if this is an answer to your question but take a look at PostThreadMessage[^], you do not need to have a window for that, only a message queue in the given thread. You could use that + somekind of mechanism to route the incoming message to the correct instances, like have some identifier or handle in the wParam and the sent integer in the lParam, then on the receiving side you use wParam to identify the instance and call some member function feeding it lParam. Be careful with posting because it might happen that the targeted object gets destroyed before the message arrives and then when you try to call the method of the destroyed instance you get a crash. This of course depends on the implementation. Good luck.

> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Sometimes you just have to hate coding to do it well. <

GeneralRe: "PostMessage" without window Pin
Richard MacCutchan6-Nov-09 22:55
mveRichard MacCutchan6-Nov-09 22:55 
Answer[Message Deleted] Pin
Kushagra Tiwari6-Nov-09 23:38
Kushagra Tiwari6-Nov-09 23:38 
GeneralRe: "PostMessage" without window Pin
Rajesh R Subramanian7-Nov-09 4:32
professionalRajesh R Subramanian7-Nov-09 4:32 
RantRe: "PostMessage" without window Pin
Rajesh R Subramanian8-Nov-09 19:37
professionalRajesh R Subramanian8-Nov-09 19:37 
GeneralRe: "PostMessage" without window Pin
Kushagra Tiwari8-Nov-09 20:02
Kushagra Tiwari8-Nov-09 20:02 
GeneralRe: "PostMessage" without window Pin
Kushagra Tiwari8-Nov-09 20:07
Kushagra Tiwari8-Nov-09 20:07 
GeneralRe: "PostMessage" without window Pin
Rajesh R Subramanian8-Nov-09 20:30
professionalRajesh R Subramanian8-Nov-09 20:30 
AnswerRe: "PostMessage" without window Pin
Rajesh R Subramanian7-Nov-09 4:31
professionalRajesh R Subramanian7-Nov-09 4:31 
AnswerRe: "PostMessage" without window Pin
transoft7-Nov-09 5:05
transoft7-Nov-09 5:05 
Questionhow to convert word(or)excel document to pdf Pin
soo preety6-Nov-09 22:08
soo preety6-Nov-09 22:08 
AnswerRe: how to convert word(or)excel document to pdf Pin
Richard MacCutchan6-Nov-09 22:33
mveRichard MacCutchan6-Nov-09 22:33 
AnswerRe: how to convert word(or)excel document to pdf Pin
Paresh Chitte6-Nov-09 23:15
Paresh Chitte6-Nov-09 23:15 
QuestionKey press missing Pin
Deepak.Prahlad6-Nov-09 20:13
Deepak.Prahlad6-Nov-09 20:13 
AnswerRe: Key press missing Pin
includeh106-Nov-09 23:33
includeh106-Nov-09 23:33 
GeneralRe: Key press missing Pin
Deepak.Prahlad7-Nov-09 17:56
Deepak.Prahlad7-Nov-09 17:56 
QuestionHelp Needed Controlling other application using VC++ Pin
Ram Murali6-Nov-09 19:55
Ram Murali6-Nov-09 19:55 
AnswerRe: Help Needed Controlling other application using VC++ Pin
Richard MacCutchan6-Nov-09 22:36
mveRichard MacCutchan6-Nov-09 22:36 

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.