c/c++ get handle control of an unnamed listbox -
i using code handle of listbox need problem have 5 listboxes same class name , no title
and stops enumeration since finds first listbox
bool callback enumchildproc(hwnd hwnd, lparam lparam) { hwlist = findwindowex(hwnd,0,"wtl_listview", ""); if(!hwlist) return true; return false; } int main(void) { hwnd a=findwindow("dialog", ""); enumchildwindows(a, &enumchildproc, (lparam)""); }
Comments
Post a Comment