[futurebasic] Windows and Tool palettes

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

From: Paul Bruneau <paul_bruneau@...>
Date: Fri, 22 Oct 1999 10:48:35 -0400
I'm driving myself batty with WINDOW #, WINDOW OUTPUT #,
WINDOW(_activeWnd), WINDOW(_activeDoc) and WINDOW (_outputWnd) and could
really use some help.


I have a single document window. It inits with _keepInBack_clickThru_keepWndActive

I have a single tool palette window. It inits with _WDEFbaseID_NoGoAway_clickThru

I am having a problem getting mouse click events in the proper window,
while still being able to draw the the proper window. When I fix one
problem, another problem pops up like a lump in a carpet.

In my event loop, in the doMouse routine, I have this:


No matter which window I click in, it seems to think I've clicked in the
tool palette.

If I change it to


Then no matter which window I click in, it thinks I've clicked in the
document window!

I'm driving myself crazy I think.

Can anyone give me some general pointers for just how the hell to manage
a tool palette?