is there a way to catch a general window's name ?

For example - i want to catch a handle of a window which
might be "Test - 1" or "Test - 2" ...
is there a way to catch its handle by specifying something like
"Test*" ?

In "FindWindow" i must specify the EXACT name.
Posted on 2001-08-27 06:42:49 by Lsx
Afternoon, Lsx.

You may have to use the 'EnumWindows' function, and do the checking for 'Test*' yourself, with 'GetWindowText'.:alright:

Cheers,
Scronty
Posted on 2001-08-27 07:34:23 by Scronty
YOU ARE CORRECT !!!
THX
Posted on 2001-08-27 09:18:13 by Lsx