Get window coordinates using only substring of window caption
Hi,
The poker site that I play at has windows that have captions like this...
Table 35282 - NL Hold'em - $5 Buy-in + $1 Entry Fee. Good Luck checkerpro !
I need to be able to retrieve the coordinates of this window. The only portion of the window caption that I know for sure is the Table # (Ex. Table 35282).
So, I am guessing that i need to
A) Get the handle of the window that has "Table 35282" in its caption.
B) Get the coordinates of the window with this handle.
Is that right? Any ideas?
Thanks
Re: Get window coordinates using only substring of window caption
Re: Get window coordinates using only substring of window caption
To get the coordinates of a window based on the handle you need to use the GetWindowRect API...
Re: Get window coordinates using only substring of window caption