Phillip Brooks Posted May 29, 2009 Report Share Posted May 29, 2009 I'm populating a tree with items from a directory. I'm retrieving the icon for the file via the private method "Get Shell Icon of File". Some of the image data clusters (MS Office, .txt and .jpg files) have a black background and I can't seem to apply a mask to get a 'nice' display in the tree. LabVIEW and ZIP shell icons are fine... OK. I just found my own solution (dark side).I need to use vi.lib\picture\picture.llb\Create Mask By Alpha.viI discovered this on the dark side in this Developer Zone example: Traversing Tree Controls and Setting Custom Symbols Quote Link to comment
crelf Posted January 3, 2010 Report Share Posted January 3, 2010 Hey Phillip - where is the "Get Shell Icon of File" method? If it's not exposed anymore (I'm using scripting on 8.6), can you please upload a VI with the method on the block diagram? Quote Link to comment
Phillip Brooks Posted January 4, 2010 Author Report Share Posted January 4, 2010 Hey Phillip - where is the "Get Shell Icon of File" method? If it's not exposed anymore (I'm using scripting on 8.6), can you please upload a VI with the method on the block diagram? Retrieve Shell Icon.vi (LabVIEW 8.6.1) Quote Link to comment
vugie Posted January 4, 2010 Report Share Posted January 4, 2010 Scripting Workbench and PMS Assitstant are still useful nowdays... Quote Link to comment
crelf Posted January 4, 2010 Report Share Posted January 4, 2010 Retrieve Shell Icon.vi (LabVIEW 8.6.1) Beawdy - thanks mate. Scripting Workbench and PMS Assitstant are still useful nowdays... Thanks for that vugie - I'd forgotten about those. Hmmm - looks like the LAVA 1.0 crash lost the Scripting Workbench files - if anyone's got them, please post them here Scripting Workbench. Quote Link to comment
Francois Normandin Posted January 4, 2010 Report Share Posted January 4, 2010 Hmmm - looks like the LAVA 1.0 crash lost the Scripting Workbench files - if anyone's got them, please post them here Scripting Workbench. done Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.