I'm trying to build an automation program for an application I don't often have unlimited access to, so to work around this I'm mimicing the UI of this legacy application in a WinForms app. There are some differences. For example, I know for a fact that when the text changes on certain controls in the target legacy application the TextPattern.TextChanged event does fire (can see this when I run accevent.exe program).
So, I'm trying to test this with my WinForms test app that mimics the legacy application, but so far I have been unsuccessful in getting this event to fire using standard WinForms controls: TextBox, RichTextBox, etc.
Is there a way to force the event to fire? Is there some property I'm missing and am not setting? Why won't this event fire on a standard text box when the value changes? The standard WinForms TextChanged event fires, but I'm looking for the UI Automation TextPattern.TextChanged event.
Thanks in advance for the help