The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GetWindowList
#1
okay i am making a combo that gets all the Instant Messages names and puts them into it
but the problem is that the code keeps getting ALL windows open and putting them into it
I would like to know if anyone could fix the code to only get windows with the name
"Instant Message" in them
Thanks

Here is the code
Code:
Copy      Help
ARRAY(int) a
GetWindowList 0 0 1|4 0 0 a
int i
int h
for i 0 a.len
,h=a[i]
,if(h=win("Instant Message")) continue
,str s.getwintext(h)
,int dd=id(3 "Form")
,SendMessage dd i 0 0
,SendMessage dd CB_ADDSTRING 0 s

im not sure if in the 7th line the "Instant Message" is even suppossed to be there

Thanks


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)