Windows Explorer's Detail View is a WinListView object in QTP, however when i use ColumnCount method, QTP hints:"the operation can not be performed". So I tried to use Win32 API,for example:
Extern.Declare micHwnd, "FindWindow", "user32.dll", "FindWindowA", micString, micString
hwnd = FindWindow("SysListView32", "")
Msgbox hwnd
However, hwnd is always 0.
How can i get the columnt's count? Expect your helps!