SendMessage to control with non-fixed ControlID
-
Hallo I'd need to write into a textbox of an external application. Investigating with Spy++ I found that its controlID changes: the only thing helping to identify it unequivocally is the Class attribute: it is the only control of that Class in that form. How could I address the textbox by this value? Could you post a snippet? Thanks in advance
-
Hallo I'd need to write into a textbox of an external application. Investigating with Spy++ I found that its controlID changes: the only thing helping to identify it unequivocally is the Class attribute: it is the only control of that Class in that form. How could I address the textbox by this value? Could you post a snippet? Thanks in advance
-
thank you for the reply, I previously did a search and adapted a snippet found on Stackoverflow.com, but it (and many other examples in the net) shows how to address controls by their handle. In this case, I have a control contained into a modal window addressable by portion of its name (the only part that doesn't change).
-
thank you for the reply, I previously did a search and adapted a snippet found on Stackoverflow.com, but it (and many other examples in the net) shows how to address controls by their handle. In this case, I have a control contained into a modal window addressable by portion of its name (the only part that doesn't change).