[futurebasic] Re: [FB] Window with floating palette

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 1999 : Group Archive : Group : All Groups

From: Paul Bruneau <paul_bruneau@...>
Date: Tue, 02 Nov 1999 08:04:44 -0500
Thanks for the input, Russ. I like your cursover idea!!

Also, the purpose of _clickthru is to allow the click to "come through"
to an unactivated window without having to activate it first. Normally,
the click is "used up" to activate a window, then another click is
required to actually do something. _clickthru lets the same click
activate the window and do an action. It's very handy with palettes as
you know. I'm not sure how well it is working for me, though, and I'm
testing with it both ways.

PB

Russ Pagel wrote:
> 
> 
> >
> > Is there anybody out there who has successfully used a document window
> > in conjunction with a floating palette? Especially a floating palette
> > with edit fields and a couple buttons.
> >
> 
> Paul,
> 
> I've got a program with palettes and a Doc window.  I've mostly done the
> Roll your own thing for buttons in the palettes but I did recently add a
> check box control to one of them.  I just tested it for the problem
> you've described and mine works.
> 
> Here's my two cents worth:
> 
> Don't use _clickthru on your pallette setup.  I believe this tells the
> OS to pass any clicks in the window through to the window behind it.
> Its not turned on in my case.
> 
> By the way, I thought I'd pass on something I did with my palettes that
> at the time I thought was a cute idea.  My program uses four palettes
> with tools (homemade ones) in each one.
> 
> In order to make them work on the first click when I move from one
> palette to the next I used the _cursover event in my doDialog function
> to automatically set the current window to whatever window is under the
> cursor.  That is whenever I get a _cursover event on a palette I do a
> WINDOW (Mycursover).
> 
> A neat side effect of this is when two palettes overlap.  When you move
> the mouse to the palette in back it pops through to the front where you
> can see all of the tools.
> 
> Now for the MORAL of the story.  I wrote all this under OS 7.5 and 8.1
> and only recently got to test it on a machine running 8.5.  The problem
> is in 8.5 those cute little clicks and chirps you get by selecting
> windows, buttons and all the rest are happening every time I move the
> mouse past a palette!
> 
> I'm not sure how I'll address this.  I've used other Apps with one click
> palettes but me thinks my current solution won't cut it.
> 
> rp
> 
> --
> To unsubscribe, send ANY message to <futurebasic-unsubscribe@...>