Click to See Complete Forum and Search --> : Rejecting Messages Send by other Processes. Is It Possible ?.


4iK
March 5th, 2007, 03:03 PM
Hi,
Is it possible to implement a standard (MFC) app which rejects messages
send by other processes, if they, for example, are trying to read data
kept in the app's listview ?
- Alexander

VladimirF
March 5th, 2007, 07:31 PM
Hi,
Is it possible to implement a standard (MFC) app which rejects messages
send by other processes, if they, for example, are trying to read data
kept in the app's listview ?
- Alexander
I don't believe that a message contains information about the process from wich it was sent.
However, you could block all messages that read data from yout list, and for your own purposes implement private messages instead.

4iK
March 6th, 2007, 04:41 AM
if LV_GETITEM does not work, and therefore is to assume that the
listview process implements own private messaging for managing
listview control - what is the way to find out which private massages these are ?

MikeAThon
March 6th, 2007, 10:26 AM
If I understand you, you are not trying to implement some sort of message block in your own app.

Rather, you are trying to get text from another app, and you're not successful, and you therefore suspect that the other app has somehow implemented a message block. Is this correct?

If so, then why do you think that the other app is an MFC app? It could be anything.

Mike

4iK
March 7th, 2007, 03:40 PM
I'am trying to get text of the items out of control with LVS_OWNERDATA and LVS_OWNERDRAWFIXED styles...