Page 1 of 1

Re: Focus in Target Blank

Posted: Tue Jan 15, 2019 12:58 pm
by salvadordf
Hi,

Those popup windows are created automatically by CEF. They are not Delphi forms and you'll need to use the Windows API to handle them.

Try these functions to get the handle of the new child window : GetActiveWindow, GetForegroundWindow or EnumChildWindows.
Then send a WM_SETFOCUS message to that window to set the focus.