[futurebasic] Floating toolbar window needs event to continue

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

From: "Pierre Zippi" <pierrezippi@...>
Date: Sun, 4 Jan 2009 14:40:18 -0600
Using FB 4.4.3, I want to open a main window and a floating toolbar
window at start up.
In my start-up routine, I call
FN Plotbuild
FN Toobarbuild

PlotBuild uses the following window:
APPEARANCE WINDOW
#_PlotWnd,windowTitle$,(30,45)-(600,maxH-10),_kDocumentWindowClass,_kWindowStandardDocumentAttributes
ToolbarBuild uses:
APPEARANCE WINDOW #_ToolBarWnd,"
Tools",(OldL,OldT)-(OldL+OldW,OldT+IconSize%),_kFloatingWindowClass,_kWindowCloseBoxAttribute

The toolbar window does not display and the app menus and events are
locked out, until I click anywhere outside the application windows or
menus.

If I only call PlotBuild (REM-out ToolbarBuild) all works fine even
after opening Toolbars from the menu.
If I changeToolbar from kFloatingWindowClass to kDocumentWindowClass
it works at startup, but Tools will not be a floating window.

What am I doing wrong?

-- 
P. Zippi
Using FB 4.4.3 (moving FB2 code to FB4.4.3)