[Lazarus] Use rare Win32 API in LCLIntf.SetForegroundWindow

Ondrej Pokorny lazarus at kluug.net
Tue May 23 19:43:48 CEST 2017


On 23.05.2017 19:38, Alexey via Lazarus wrote:
> What do you think about using this rare API [beginning from WinXP] in 
> LCLIntf fnction? It will make LCL function work more stable: window 
> will always go to foreground. I used it in CudaText. It works.
>
> https://github.com/Alexey-T/CudaText/blob/master/app/fix_focus_window.pas

What are the equivalents for Qt, Qt5, Gtk2, Carbon, Cocoa?

Ondrej


More information about the Lazarus mailing list