You can use Event Handlers : How to Implement Event Handlers
Can't detect control show?
Hi,
When using IUIAutomation I've noticed that sometimes it doesn't immediately recognize an open form or if this form appearance affects another control then I can't track that control.
I tried using setfocus/setforeground back but it sometimes doesn't work.
Is there a reliable way to refresh treeview UI?
How long do I need to wait for automation to fully change state?
Thanks you!
Windows development | Windows API - Win32
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
Answer accepted by question author