Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Extract Associated Icon to a Treeview
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00668799
Message ID:
00669182
Views:
18
In addition to Larry's answer.
A sample code of extracting an icon into ImageList you can find in message #656045.

>Has anybody had any success in setting the icon in a treeview control to the icon associated with a file?
>
>I wish to have the subnodes of a treeview control display the icon based on the file extension of a file.
>
>I would assume that I would use the ExtractAssociatedIcon API call to accomplish this, but every time I think I am on the right track I get the C00000005 error in VFP7 SP1.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform