On 19.01.2017 13:55, Michael Fuchs via Lazarus wrote:
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?
Don't know now exactly, but gtk_window_set_focus_on_map(Window, False)
maybe could help. Have you looked into gtk2winapi ? eg Qt have such flag
and it can show window without activating.
zeljko
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus