It can be done with IUIAutomation and MoveEndpointByUnit
Test with Edit control of Notepad, position 10 :
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
Let's say I have text strings as shown. how do I move cursor to the specify characters?
The boxes can be controls in an application example mfc, chrome,...
I tried using SetConsoleCursorPosition but the result always returns 0, is that the right approach?
Thanks you.
It can be done with IUIAutomation and MoveEndpointByUnit
Test with Edit control of Notepad, position 10 :