[REBOL] Re: [View] action on windows display
From: anton:lexicon at: 31-Jan-2003 0:21
Well, on windows 2000, this program shows
some events:
view/new lay: layout [button]
lay/feel: make lay/feel [
detect: func [face event][
print [event/type event/offset]
event
]
]
wait none
active 0x0
move 555x627
move 32767x32767
inactive 0x0
active 0x0
move 322x32
move 32767x32767
inactive 0x0
active 0x0
move 615x819
move 32767x32767
inactive 0x0
active 0x0
move 615x819
move 32767x32767
inactive 0x0
The events [active move] are triggered when
the window becomes active (is switched to).
The events [move inactive] are triggered when
the window becomes inactive.
I think you can just act upon the events [active inactive]
to get the functionality you want.
Anton.