>I have issued the API call Extracticon and it has returned a handle to the icon I require. I cannot find any control in VFP that can be used with a Hdc reference to display the Icon. Any suggestions would be much appreciated
>
>Thanks
>
Anthony,
AFAIK, the only way to display an icon reference is to call the DrawIcon()function. I wrote an article in the Aug., 1998 issue of FoxPro Advisor that demonstrates how to do this. Further, there's a dialog (FileExists) in my Obj2Bmp application that uses LoadIcon() as a source of the icon handle. The technique for displaying it is the same as using ExtractIcon() or ExtractAssocatedIcon() as the source. You can download Obj2Bmp from the files section here at the UT under Win32 and other APIs.
George
Ubi caritas et amor, deus ibi est