How to find out the number of icons on the desktop, if I recognized the pointer to the window containing icons like this:
var HDesktop :HWND; //... HDesktop := FindWindow('ProgMan', nil); HDesktop := GetWindow(HDesktop, GW_CHILD); HDesktop := GetWindow(HDesktop, GW_CHILD);