How to control a component on another window with no title?


2003-08-07 05:09:44 AM
cppbuilder95
I am familiar with using EnumWindows to get the handle of a window in
another program. If that Window has a caption or title, it is very easy to
find the window you want.
But what if I want to control a window with no caption? Specifically, I want
to move a track bar in another program, but track bars do not have any text
associated with them. So when I'm looping through the windows with
EnumWindows, how can I know that it's the window I want?
Thanks,
Pontius