| || |
How to get all items in a SysListView32 list?
I am using TestComplete 7.52 Enterprise and currently running on XP with the intent of using this code on XP and Windows 7. I am trying to acquire all items in Windows' list of installed Services. This is a SysListView32 wndClass object. By selecting a given item in the list, I can get the Name of the service using the wSelectedItems property using this code here:
szServiceName = Aliases.mmc.wndServices.MDIClient.wndMMCChildFrm.M MCViewWindow.SysListView32.wSelectedItems;
OK, so far so good.
My problem is that I am having a rough time acquiring the rest of the values associated with that service name, i.e. 'Description,' 'Status,' 'Startup Type,' and 'Log On As' values.
There just has to be a reasonable way to do this which I must be missing. Thanks in advance for any suggestions on how I can get that info,
Re: How to get all items in a SysListView32 list?
You can find an example in the "Retrieving ListView Items. Example" help topic.