Re: Re: An easy VB 2010 Send and Gettext Sample

#186846
autopilot
Member

@locohacker wrote:

so the only issue I got is the need to focus the program for it to work

Basically, with the WindowFromPoint API, the window does not have to have focus, but it has to be visible at the point the application tries to look for it. WindowFromPoint gets the control that is showing at a point on the screen. If you want to allow for the Pal room to be in the background, then you will need to continue to use the enum windows method provided in the mdlHnd (see module to find handles).