view window icon
[1/3] from: mh983::attbi::com at: 29-Aug-2002 19:46
I thought I'd seen this come up before but I can't find it in the
archives. Is there a way to change the icon that displays in the upper
left corner of a view window?
I need some way for maoww, the jabber
client, (where did the name maoww come from, by the way?) to notify you
that you have a message if the chat window is minimized. This is
typically done by flashing the windows button on the task bar or
changing the icon to indicate a new message has arrived. But you also
need to stop flashing or change the icon back once the user looks at the
window.
However, minimizing and task bars are somewhat
operating system specific ideas. Is there even a window
minimize/maximize event in /view? Maybe has focus/lost focus would
work? Any other ideas? I suppose sound would be an option for /pro
users.
mike
[2/3] from: anton:lexicon at: 30-Aug-2002 8:27
Not really. Not in a reliable cross-platform way.
You will need to make library calls using view/pro.
In windows, you can use
hide lay
to minimize a layout face (a window),
but that doesn't always work the same way in
different versions of windows.
To maximize, I suppose you could try using
unview/only lay
view/new lay
Anton.
[3/3] from: g:santilli:tiscalinet:it at: 30-Aug-2002 1:23
Hi mh983,
On Thursday, August 29, 2002, 9:46:34 PM, you wrote:
mac> typically done by flashing the windows button on the task bar or
mac> changing the icon to indicate a new message has arrived.
You can do this:
; supposing win is your window face
; let's activate it (on Windows, this makes it flash in the
; task bar)
win/changes: 'activate
show win
Regards,
Gabriele.
--
Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r