|
-
August 31st, 1999, 02:17 AM
#1
Intercepting WM_SETTEXT Messages from other apps
Trying to intercept a particular WM_SETTEXT message from another running application that has multiple windows.
Is there any example code, or does anyone have any suggestions?
Have been looking at OnMessage(WM_SETTEXT, OnSetText) and SetWindowsHookEx()
But the question comes up on how to pick that particular window and instance.
Using Spy++ I can see the Class of the window I want, but the object in that window has two classes of the same name, one with the message I need, the other without.
Sorry - newbie here
-
August 31st, 1999, 03:29 PM
#2
Re: Intercepting WM_SETTEXT Messages from other apps
To do what you are asking *REQUIRES* using hooks.....this will allow you to know when the SETTEXT message is being sent so you can (I assume) grab the text thats being set and perhaps put it somewhere else or change it....
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
|