Concerning Alex Feinman post at google groups

Hi,

this discussion at google groups discuss how to get icon from window handle

http://groups.google.com/group/microsoft.public.dotnet.framework.compactframework/browse_thread/thread/dba870934fe78b6a/6aba1f16a96762a1 lnk=gst&q=get+window+handle&rnum=1#6aba1f16a96762a1

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




Answer this question

Concerning Alex Feinman post at google groups