#BORDERLESS problem
05-Jul-89 13:02:38
Sb: #55674-#BORDERLESS problem
Fm: KEITH YOUNG 73170,307
To: Patrick Maloney 73407,3676
Patrick,
A window with no title bar is easy enough to do… depending on what you
actually want. If you want a window with no title-bar and no drag bar, then
just dont set the WINDOWDRAG flag. If you want a drag bar with no title in it,
there are two ways that come to mind (and I've used both in Access!)… 1) set
the WINDOWDRAG flag, and for the 'title' field, provide a string of about 80 or
so SPACES (which show up as an 'empty' title-bar, but without the 'bars' that
are normally there). 2) don't set the WINDOWDRAG flag, but create a 640 * 10
(or whatever) gadget and set it's type as WDRAGGING. Doing this tells
Intuition that you want it to act just like a drag-bar and it will handle all
events from it (ie.. you won't get any events from it, Intuition will handle
them).
BTW, the function that Jim was thinking of was SetWindowTitles() which will
set a title in (I think) both a window and/or screen.
I hope this is the info you were looking for,
Keith