🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #7811

Re: How to setup window border gadgets?

#7811
From: Randell Jesup
Date: Sat, 05 Jan 1991 01:20
21 lines
1462 bytes
In article <9578.tnews@templar.actrix.gen.nz> jbickers@templar.actrix.gen.nz (John Bickers) writes:
>> >I am trying to put a boolean gadget into the top border of a window

>    One problem I had with trying to do this was based on window
>    activation. When the window was deactivated, my iconify gadget would
>    get "shadowed", and when the window was reactivated the drag bar would
>    be drawn over the gadget altogether.
>
>    A solution in the end was to detect when the window got (de)activated,
>    and redraw the gadget directly.

	This may not solve all your problems, but you should set TOPBORDER
if it's going to live in the top border.  There may be other refresh issues
to deal with.

-- 
Randell Jesup, Keeper of AmigaDos, Commodore Engineering.
{uunet|rutgers}!cbmvax!jesup, jesup@cbmvax.commodore.com  BIX: rjesup  
The compiler runs
Like a swift-flowing river
I wait in silence.  (From "The Zen of Programming")  ;-)
Technical Details
Message-ID: <17127@cbmvax.commodore.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!cbmvax!jesup
References: <1374@ewu.UUCP> <1990Dec30.180904.19241@athena.mit.edu> <9578.tnews@templar.actrix.gen.nz>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!cbmvax!jesup
From: jesup@cbmvax.commodore.com (Randell Jesup)
Newsgroups: comp.sys.amiga.tech
Subject: Re: How to setup window border gadgets?
Message-ID: <17127@cbmvax.commodore.com>
Date: 5 Jan 91 01:20:54 GMT
References: <1374@ewu.UUCP> <1990Dec30.180904.19241@athena.mit.edu> <9578.tnews@templar.actrix.gen.nz>
Reply-To: jesup@cbmvax.commodore.com (Randell Jesup)
Organization: Commodore, West Chester, PA
Lines: 21