Hi,
this discussion at google groups discuss how to get icon from window handle
i have tried this code
IntPtr
hIcon = (IntPtr)SendMessage(hWnd, 0x007f, 0, 0); Icon.FromHandle(hIcon);but unfortunatly this message returns zero to hIcon!!
could anybody help me,
thanks

Concerning Alex Feinman post at google groups
Hanumanth Reddy
J.B. III
comspy
Yosef Karasik
Dear timg_msft,
Thanks for your reply.
yes, i am sending it to the right hWnd, i got the hWnd using this class
http://blog.opennetcf.org/ctacke/PermaLink,guid,add17dea-c5d9-46c4-b405-af213678fa10.aspx
i used this hWnd to get its process ID and end this process, so i am sure the hWnd is correct.
Could you please tell me where the error came from
thanks