I'm using IIntuition->LockScreenList() in ShowMsg to find the topmost screen. And I'm using a normal Intuition window. I've tested it and it opens a window on non-public screens too. But it might leave some trash on some screens. But at least the requester/window is shown. (Colours might be wrong/strange.) No need to force anything.
Rock lobster bit me - so I'm here forever X1000 + AmigaOS 4.1 FE "Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
But it might leave some trash on some screens. But at least the requester/window is shown. (Colours might be wrong/strange.)
Cygnix screen get's trashed and colors are a wee wrong. Otherwise it's a good solution (given the timeout).
BTW: does anyone know the technique are the alerts are displayed with?
Jack
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg
Another thought: is it possible to use overlay? Afaik, it shouldn't interfere with screen imagery/refresh.
Jack
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg
Hey, your "ShowMsg" with TIMEOUTSECS, CS, ANIMCS just rocks now!!! BTW: why is there that low-colour side effect? Can you make an option for these: black bg in CS mode no screen title is CS mode no window border option no gadget when timeout is there (all these are simple imho) and an option for custom icon?
Jack
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg
You still have to "draw" into a screen when you use overlay, because you have to write a rectangle (or other shape) of the overlay colour.
The colours would come out right, but it would only work on high or truecolour modes, and if thats the case, you could achieve the same by detecting the screenmode pixel format and not using pens for rendering.
Thans for the info. The least complicated atm is TSK's showmsg. And if it'll be programmable to produce a compact message, the it's quits the goal here (un-intrusive compact message that doesn't steal the focus and is above all the graphics)
Jack
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg