Jump to content

Get Shell Icon of File


Recommended Posts

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

post-949-1243522274.png?width=400

post-949-1243522283.png?width=400

OK. I just found my own solution (dark side).

I need to use vi.lib\picture\picture.llb\Create Mask By Alpha.vi

I discovered this on the dark side in this Developer Zone example: Traversing Tree Controls and Setting Custom Symbols

Link to comment
  • 7 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.