[openbeos] Re: inconsistency?

Ok, based on additional scenarios that have been brought forward here's my
new suggestion and I think it's pretty simple.

Have an additional flag for the creating windows, B_SHOW_TO_USER (or
something like that).  If the window is created without that flag the window
is created behind the window with focus.  If the flag is set, the window is
shown on top unless the user changes focus to another window.  The only
thing left is to determine when to set B_SHOW_TO_USER.  Basically, any
window that the application thinks is important enough to pop in front of
all windows.  The other situation is if the user opens a file from tracker,
SpicyKeys, or some other program.  In this case, the application simply
checks the source of the message.  If the message is not from itself then it
sets B_SHOW_TO_USER.


Later,
Scott MacMaster


Other related posts: