03-01-2009, 12:46 PM
ARRAY(int) a
GetWindowList 0 0 1|4 0 0 a
int i
int h
int g = ""
for i 0 a.len
h=a[i]
if(!wintest(h "")) continue
str s.getwintext(h)
int dd=id(13 "dialog")
SendMessage dd i 0 0
SendMessage dd CB_ADDSTRING 0 s
WHAT THIS CODE DOES IS TAKE ALL OF MY WINDOWS AND NAMES STORES THEM INTO A COMBO BOX....it works great but one thing i want to make it do is
if i run the code twice..to not list the windows that are already in it...and also i want to make another code that will clear all of the window names in the CB Box...thanks for the help hope this helps if not ill be here lol
GetWindowList 0 0 1|4 0 0 a
int i
int h
int g = ""
for i 0 a.len
h=a[i]
if(!wintest(h "")) continue
str s.getwintext(h)
int dd=id(13 "dialog")
SendMessage dd i 0 0
SendMessage dd CB_ADDSTRING 0 s
WHAT THIS CODE DOES IS TAKE ALL OF MY WINDOWS AND NAMES STORES THEM INTO A COMBO BOX....it works great but one thing i want to make it do is
if i run the code twice..to not list the windows that are already in it...and also i want to make another code that will clear all of the window names in the CB Box...thanks for the help hope this helps if not ill be here lol