|
-
March 5th, 2007, 04:03 PM
#1
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
-
March 5th, 2007, 08:31 PM
#2
Re: Rejecting Messages Send by other Processes. Is It Possible ?.
 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.
Vlad - MS MVP [2007 - 2012] - www.FeinSoftware.com
Convenience and productivity tools for Microsoft Visual Studio:
FeinWindows - replacement windows manager for Visual Studio, and more...
-
March 6th, 2007, 05:41 AM
#3
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 ?
-
March 6th, 2007, 11:26 AM
#4
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
-
March 7th, 2007, 04:40 PM
#5
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...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|