GetListContents works with ListBoxes, not with ListViews. All
remaining functions you listed should work with syslistview32 (i.e.
I would suggest the following: Try to use those functions with
Windows Explorer and see if you can make them work for you. If they
don't work then report a problem with a detailed description how to
recreate it. If they do work, it may mean that your controls have
some special settings. You may need to look at ListView documentation
us/shellcc/platform/commctls/listview/listview.asp. Don't be scared.
M$ gives good and and comprehensive coverage of the area.
--- In email@example.com, Girish <girishwill@...> wrote:
> Hello Friends,
> Below functions are not working for any of the list boxes in our
> application under test
> SelListViewItem( $hwnd, $idx );
> GetListViewContents( $hwnd );
> GetListContents( $hwnd );
> SelListViewItemText( $hwnd, $text );
> I used the function - GetClassName( $hwnd ); it returned
> "syslistview32", How to make the above functions work with listbox
> with classname "syslistview32", My application involeves lot of
> listboxes, I'l unable to procedd with scripting, I would appreciate
> Does the above functions only support only the class name "ListBox",
> if so how to script the "syslistview32" class objects?
> Thanks in advance