Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Open A Window Without Wintext
#11
DoDefaultAction usually does not work with list view controls if the window is not active.

Example with a folder window:
Macro
Code:
Copy      Help
act win("" "CabinetWClass") ;;activate the window
Acc a=acc("" "LISTITEM" win("" "CabinetWClass") "SysListView32" "" 0x1001)
a.Selection
a.DoDefaultAction ;;this would fail if the window is inactive (error ... 0x80020003, Member not found)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)