Re: [Lazarus] Use rare Win32 API in LCLIntf.SetForegroundWindow
In reply to this post by Free Pascal - Lazarus mailing list
I would advise strongly against the use of SwitchToThisWindow API
function in Lazarus. Mainly because it states in the docs: This
function is not intended for general use. It may be altered or
unavailable in subsequent versions of Windows.