LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HOW TO INSERT ICONS TO ACTIVEXCTRL(MSCOMCTRL.ITREEVIEW)

Hi!
i found a program that uses ActiveX control (treeview),it runs ok in LabVIEW5.1.now i want to insert icons to the tree,but i don't know how to do .please give me reference.
thanks a lot!
0 Kudos
Message 1 of 4
(2,971 Views)
you can find treeview related help in MSDN (visual studio). it has a image list where you can place some icons and assign one of those to any node.

Best,
Lab Viewer
0 Kudos
Message 2 of 4
(2,971 Views)
Hello there,

You may want to try the following link on the NI Developer Zone:

http://zone.ni.com/devzone/devzoneweb.nsf/opendoc?openagent&226738382638DBEF
86256A2D004EFFC0&cat=9C6DF90777E5A78206256874000FA14E

This should get you started. Mass compile for 6.0.2.

Regards,

Graeme

Test, Measurement & Automation

for the wireless world

www.rayodyne.com

Coming soon - GNU Tools for LabVIEW - LabVNC (www.labvnc.org), LabPerl,
LabSQL


"LI JIN" wrote in message
news:5065000000080000006B260000-993342863000@exchange.ni.com...
> Hi!
> i found a program that uses ActiveX control (treeview),it runs ok
> in LabVIEW5.1.now i want to insert icons to the tree,but i don't know
> how to do .please give me reference.
> thanks a lot!
0 Kudos
Message 3 of 4
(2,971 Views)
Hi,

Use another ActiveX component, the Microsoft ImageList Control. With it's
properties you can select (browse) for picture.

Wiebe Walstra.


"LI JIN" wrote in message
news:5065000000080000006B260000-993342863000@exchange.ni.com...
> Hi!
> i found a program that uses ActiveX control (treeview),it runs ok
> in LabVIEW5.1.now i want to insert icons to the tree,but i don't know
> how to do .please give me reference.
> thanks a lot!
0 Kudos
Message 4 of 4
(2,971 Views)