You're right: the window handles are different each time. I phrased it badly. What I was referring to was the window IDs: the value returned from GetWindowLongPtr(tInfo.hwndFocus,GWLP_ID).
I also failed to note that I'm doing this from an outside program: not from within the Delphi program...
Hi, all.
I'm not a Delphi guy, so forgive the stupid question. I notice when running a Delphi application that the window handles for controls (edit fields, buttons, etc.) are not static. In other words, an edit field on an application might have an ID of 0x000502cd the first time I run it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.