04-02-2021 12:56 AM
I want to call external exe.when i use user32.dll, i can find combo box handle,but i dont know how to change this value,how to solve it?
04-02-2021 03:00 AM
@TCchsh wrote:
I want to call external exe.when i use user32.dll, i can find combo box handle,but i dont know how to change this value,how to solve it?
This is a bit vague...
Is the exe a LabVIEW application? If so, user32.dll won't get you far.
If not (likely, as you found a handle), you probably need to send the handle a message. Use SendMessage, PostMessage, or something like that.
See SendMessage ComboBox ? (microsoft.com)
I hope you don't really have a choice, as this is probably the last thing you want to do. But that does happen.