Rejecting Messages Send by other Processes. Is It Possible ?.
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
Re: Rejecting Messages Send by other Processes. Is It Possible ?.
Quote:
Originally Posted by 4iK
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.
Re: Rejecting Messages Send by other Processes. Is It Possible ?.
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 ?
Re: Rejecting Messages Send by other Processes. Is It Possible ?.
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
Re: Rejecting Messages Send by other Processes. Is It Possible ?.
I'am trying to get text of the items out of control with LVS_OWNERDATA and LVS_OWNERDRAWFIXED styles...