From: B.S on
hi all i am trying to get child window of "Progman", i am doing so

HWND hwnd=FindWindow("Progman",0);
HWND icon=GetWindow(hwnd, GW_CHILD);

but it is returing same window.

it was working good on windows xp but now i have windows 7.

please help