realbasic-nug
[Top] [All Lists]

Re: A Retort (was Re: blackening the screen)

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: A Retort (was Re: blackening the screen)
From: Thomas Reed <thomasareed at earthlink dot net>
Date: Mon, 10 Dec 2001 09:58:14 -0600
>Mabye then you could use the
>toolbox to handle the events C-style, using WaitNextEvent (I believe that is
>the right one, I haven't done toolbox in a long time) and then use
>GetNextEvent to steal any events that are mouse downs outside of your VIP
>window (before RB does anything with them.)

Well, I don't think calling WaitNextEvent or GetNextEvent within a RB 
program would be a solution.

However, it's possible you could do something like this from within a 
plugin using event filters.  I'm not experienced with event filters, but 
I believe they allow a plugin to deal with and optionally discard events 
before your app sees them.  (I could be wrong.)

-Thomas

Personal web page:                 http://home.earthlink.net/~thomasareed/
My shareware:            http://home.earthlink.net/~thomasareed/shareware/
Pixel Pen web pub. guide: http://home.earthlink.net/~thomasareed/pixelpen/

We have enough youth, how about a fountain of SMART?




<Prev in Thread] Current Thread [Next in Thread>