05-19-2010 02:25 AM
Hi Is there a way how to expand these controls programmatically?
I think it cannot be done, right?
Clement
05-19-2010 02:47 AM
What do you mean by expanding?
Ton
05-19-2010 03:23 AM
This
Clement
05-19-2010 03:25 AM
No, there is no property or method for this, even not in scripting.
Well, I have to say, I didn't find one.
Christian
05-19-2010 03:43 AM
I think you can expand it by simulating a mouse click on the control:
About simulating the mouse click see here:
http://digital.ni.com/public.nsf/allkb/C5EDD606E6083DA1862573010001A5BD
and here:
http://forums.ni.com/ni/board/message?board.id=170&message.id=300976&query.id=2037363#M300976
05-19-2010 04:14 AM
Good Idea Marco, this works!
You can then read the position of the control via property node and pass it to the DLL.
The only thing what I don't like is that if the user unintenionally moves the mouse in the same moment you want to click the control programmatically it might not work because of the wrong coordinates.
Christian
05-19-2010 05:20 AM
AutoIt should be usable to perform a programmitacally mouse-down.
Ton