Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Open windows stored into CB box
#1
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


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)