Check
Re: Extract Associated Icon to a Treeview Thread #
668799 Message #
669457.
>Hi Everybody!
>
>Is there anybody who can explain me VFP-like what I have to do or show me a more usefull solution for VFP?
>
>The thing I want to do is:
>
>I have a table where I store information about documents. The name, the path and a title. These information I show in a grid control on a form. Now I want to show also the icon of the document like we can see it in windows explorer for example.
>How to show an icon in a grid is not the question - that I know. My question is: How can I get the icon out of the documentinformation?
>
>For that I have found the ShGetFileInfo of the Windows API and also some examples to pick up the icon - also in the Microsoft knowledbase - but all examples I found are for VB and I have difficulties to change it to VFP.
>
>So, is there anybody who can help please?
>
>Thanks in advance,
>
>Stefan
--sb--