This code demonstrates how to programmatically add a custom symbol to a tree control. It also shows to optional steps of resetting the tree control's array of symbols to the default built in symbols as well as retrieving the custom symbols from the array and displaying the symbol.
Steps to Complete
Download and save the VI as well as the flower.bmp file. Specify the flower.bmp's path in the path control on the front panel of the VI. Run the VI.
Related to KnowledgeBase 2WMBER1W: How Do I Load and Use Custom Symbols for My Tree Control Items? (http://digital.ni.com/public.nsf/allkb/89A75D98771F2FB686256F350055EB3A?OpenDocu ment)
Attached VI was written in LabVIEW 2009.