[Lazarus] Show a window under GTK2 in front without stealing the focus

Michael Fuchs freepascal at ypa-software.de
Thu Jan 19 13:55:04 CET 2017


Hello,

I try to use a notify-like window in one of my applications.
That means that a window should be shown on top of all windows, but did
not steal the focus from other running applications.

Under windows this works with

  ShowWindow(MyForm.Handle, SW_SHOWNOACTIVATE);

But how can I do this under GTK2?


Thx for help
Michael


More information about the Lazarus mailing list