
How to distinguish Posted message and Sent message?
InSendMessage should work, but it is not at all clear that distinguishing these two cases
gives you anything useful. In fact, it may produce a program that is unusable in a real
environment. In any case, you cannot determine the sender.
joe
Quote:
>Hi,
> Is there a way to distinguish Posted message and Sent message in my
>message handler? e.g. I have a OnClose() message handler which deals with
>wm_close message. I want to tell whether the message is sent or posted or
>which windows or process sent this message to me. Can I do that?
>Regards
>Jeff
Joseph M. Newcomer [MVP]
Web: http://www3.pgh.net/~newcomer
MVP Tips: http://www3.pgh.net/~newcomer/mvp_tips.htm