Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SysListView32
#1
How do I know the item count of SysListView32. Also I want to trigger a macro if the list count changes. I think change in list count can be used as trigger for my macro. Is there any alternate way to use as trigger. Is there any way by which data between two exe applications be shared other than the registry value or say from window to window as I require the data to be recd in fraction of second.
#2
Macro
Code:
Copy      Help
int w1=id(1 win("" "CabinetWClass")) ;;listview control in a folder window
int n=SendMessage(w1 LVM_GETITEMCOUNT 0 0)
out n

To create trigger, get item count repeatedly... I don't know other ways.

Two exe can share memory using shared memory functions - CreateFileMapping and other. Or using pipe functions. To send data to another exe that has a window, can be used message WM_COPYDATA. Read in MSDN library.


Forum Jump:


Users browsing this thread: 1 Guest(s)