[Lazarus] Use rare Win32 API in LCLIntf.SetForegroundWindow

Alexey aaa5500 at ya.ru
Tue May 23 19:38:42 CEST 2017


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

-- 
Regards,
Alexey



More information about the Lazarus mailing list