Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: listen to events only for a specific window?

From: arolls:bigpond:au at: 14-Jul-2001 3:23

Yes, I just tried that, but it doesn't work. Thanks anyway. This is the essential: block-window: does [ old-feel: make lay/feel [] ; remember original feel lay/feel: make lay/feel [ redraw: over: detect: engage: none ; don't do anything with events ] ] unblock-window: does [ lay/feel: old-feel ] ... ; oh my gosh! an error! block-window ; show error window here view/new layout [title "program error" ...] wait none unblock-window I think I need some deeper way to disable the window. It's interesting; when you click on a window title bar (win2k), the animation stops. That's what I want to do here, I think.