Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!cbmvax!ken From: ken@cbmvax.commodore.com (Ken Farinsky - CATS) Newsgroups: comp.sys.amiga.programmer Subject: Re: Sharing layers.library with intuition Message-ID: <21277@cbmvax.commodore.com> Date: 6 May 91 14:25:21 GMT References: <1991Jan11.001055.2055@mintaka.lcs.mit.edu> <17398@cbmvax.commodore.com> <1991Jan11.233104.26795@mintaka.lcs.mit.edu> <1991May4.192226.30387@kuhub.cc.ukans.edu> Reply-To: ken@cbmvax.commodore.com (Ken Farinsky - CATS) Organization: Commodore, West Chester, PA Lines: 29 In article <1991May4.192226.30387@kuhub.cc.ukans.edu> markv@kuhub.cc.ukans.edu writes: >In article <1991Jan11.233104.26795@mintaka.lcs.mit.edu>, rjc@wookumz.ai.mit.edu (Ray Cromwell) writes: >> One question however, if I set the Text in NewWindow to NULL will >> intuition still render the titlebar? (and wipe out anything I have drawm >> there?) > >Since this is your own screen, one sure fire way to shut up the title >bar, is to say: > > struct Screen *MyScreen; > /*...*lots* of code...*/ > ShowTitle(MyScreen, FALSE); > >This will completely kibosh any rendering in the Bar Layer of the >sreen, including front/back gadgets. This has nothing to do with the thread. The problem was that a window's title bar was still appearing in a borderless window even though the window's title was set to NULL. It turns out that the window's title was set to "" (the null string) rather than NULL (the null pointer). ShowTitle() hides the screen's title bar. It allows the application to place the screen's title bar either in front of or behind any backdrop windows that are open on the screen. -- -- Ken Farinsky - CATS - (215) 431-9421 - Commodore Business Machines uucp: ken@cbmvax.commodore.com or ...{uunet,rutgers}!cbmvax!ken bix: kfarinsky