06-07-2008, 02:59 AM
that is how u put it in the combo
ARRAY(int) a
GetWindowList 0 0 1|4 0 0 a
int i
int h
for i 0 a.len
,h=a[i]
,if(wintest(h "Instant Message")) continue
,str s.getwintext(h)
,int dd=id(3 "Form")
,SendMessage dd i 0 0
,SendMessage dd CB_ADDSTRING 0 s
that still puts all the windows into the combo
ARRAY(int) a
GetWindowList 0 0 1|4 0 0 a
int i
int h
for i 0 a.len
,h=a[i]
,if(wintest(h "Instant Message")) continue
,str s.getwintext(h)
,int dd=id(3 "Form")
,SendMessage dd i 0 0
,SendMessage dd CB_ADDSTRING 0 s
that still puts all the windows into the combo