Bonjour,
Je n'arrive pas à récupérer le texte associé aux icônes du bureaux.
Pouvez vous m'aider ?
HWND hWndSysListView;
hWndSysListView = GetWindow(GetWindow(FindWindowEx(NULL, NULL, "Progman", "Program Manager"), GW_CHILD), GW_CHILD);
char Texte[50];
int i=0;
ListView_GetItemText( hWndSysListView, i, 0, Texte, 50);
ListBox1->Items->Add(Texte);