Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Suggestion for SysListView32
#9
This is my suggestion :

Code:
Copy      Help
int+ hwnd=win
int+ vFileList=id(1 hwnd)
str vCurrentFile

int item=-1
GetListViewItemText(vFileList item &vCurrentFile 0 2 &item)
int i n
int hwl=child("FolderView" "SysListView32" hwnd 0x1)
n=SendMessage(hwl LVM_GETITEMCOUNT 0 0)

for i item n
,GetListViewItemText(hwl i &vCurrentFile)
,out vCurrentFile
,Acc a=acc(vCurrentFile "LISTITEM" hwnd "id=1" "" 0x1000)
,a.Select(SELFLAG_TAKEFOCUS|SELFLAG_TAKESELECTION)
,;; any other statements
,
ret


Best regards


Messages In This Thread

Forum Jump:


Users browsing this thread: 8 Guest(s)