LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

change combo box value by user32 through labview

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?

0 Kudos
Message 1 of 2
(885 Views)

@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.

0 Kudos
Message 2 of 2
(850 Views)