16,747
社区成员




LRESULT CALLBACK EnumChildProc(HWND hwnd, LPARAM)
{
char text[128], title[128];
char Result[1024];
GetClassName(hwnd, text, 128);
SendMessage(hwnd, WM_GETTEXT, (WPARAM)128, (LPARAM)title);
memset(Result, 0, 1024);
sprintf(Result, "%s\r%s\r%d", text, title, hwnd);
AddDataToStringGrid(Result);
return true; //true表示继续取,false表示不取
}