Mick Smith
2009-10-07 09:14:07 UTC
Hi Group,
I have a C# Windows Form textbox. I pass it's handle to an external
unmanaged dll (ie TextBox.Handle). The unmanaged dll sometimes
changes the text in the textbox. Because this is being done directly
by the textbox's handle it doesn't trigger .Net events. For example
textbox1.TextChanged is not fired when the unmanaged dll changes the
text in my textbox.
So, how can I use the windows API, or otherwise, to find out when the
text is changed in my textbox?
Mick
I have a C# Windows Form textbox. I pass it's handle to an external
unmanaged dll (ie TextBox.Handle). The unmanaged dll sometimes
changes the text in the textbox. Because this is being done directly
by the textbox's handle it doesn't trigger .Net events. For example
textbox1.TextChanged is not fired when the unmanaged dll changes the
text in my textbox.
So, how can I use the windows API, or otherwise, to find out when the
text is changed in my textbox?
Mick