[futurebasic] Re: [FB] Fullscreen app stop accidental clicks outside window

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 2010 : Group Archive : Group : All Groups

From: Robert Covington <artlythere@...>
Date: Sat, 30 Jan 2010 10:55:57 -0500
On Jan 30, 2010, at 8:49 AM, Brian Heibert wrote:

> Hi,
>
> How can I get it so if a user clicks outside of the window the  
> window re-appears
>
> I got two windows one is fullscreen and the other is a regular window
>
> and what I want to do is if the user clicks outside the regular  
> window (onto the fullscreen window)
> beep and then return to the regular window
>
> My program does have a way to quit and return to MacOS X
>
> but I don't want accidental clicks to the fullscreen window
>
> I tried _wndClick : WINDOW #_fullscreen
>
> But that didn't do it
>
> Brian

Why not make the regular window a floating palette type, then it will  
remain up top.

?

Then you can ignore clicks to the bottom window as you wish, in the  
mouse loop.

rc