[haiku-development] Re: Notification Server?

  • From: "Ryan Leavengood" <leavengood@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 24 May 2007 14:56:25 -0400

On 5/24/07, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:

I disagree; this is no functionality that belongs into the app_server
at all. Crucial system servers should usually do as few as possible.

Fair enough. Then I just need to know how to show a new window, on
top, without it becoming the active window (and therefore stealing the
focus.) I HATE when applications do that on Windows, the best example
being Diskeeper Lite which came with my laptop, it pop-ups it's own
notification window (instead of using the usual Windows taskbar thing)
and this steals the focus. I really, really hate this.

From what I've read in the BeBook, BWindow::Show() always make the
window active. Is there some private API I could use?

A separate application or even the Deskbar (eventually using an add-on)
sounds like a much more sensible solution.

OK, then I'll move forward with the "Notification Server" idea, as per
the subject of this email thread. I don't want this tied to the
Deskbar either.

Ryan

Other related posts: