The easiest solution would be to simply subclass the window procedure of the target HWND
and discard any WM_GETTEXT
messages that you do not invoke yourself.
How to intercept Sendmessage API
-
29-07-2021 - |
Frage
I need to intercept SendMessage API to prevent someone getting text from a particular window by sending WM_GETTEXT . so please suggest me how to do this
Lösung
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow