Article View: comp.sys.amiga.tech
Article #11704Re: YARB - Yet another refresh bug ?
From: Marco Papa
Date: Tue, 07 Mar 1989 02:47
Date: Tue, 07 Mar 1989 02:47
22 lines
1750 bytes
1750 bytes
In article <92676@sun.uucp> cmcmanis@sun.UUCP (Chuck McManis) writes: |In article <890305224442.20c00bb5@elcc.epfl.ch| (David Gay) writes: || Another problem with BeginRefresh/EndRefresh (I thrive on them :-)): || There seems to be a problem with calling SetWindowTitles during a refresh. | |I may have missed something here, but in general it is _illegal_ to call |an Intuition Window function whilst between a BeginRefresh() and an |EndRefresh(). All you can do is call graphics kinds of things that |draw in your window. If you want to refresh the border (and title) |you can do so _after_ the refresh by calling RedrawWindowFrame(). Chuck is quite right. This is a direct quote from the 1.2 Enhancer Manual: "When using Begin/EndRefresh(), restrict your operations to simple rendering. Avoid calls that may lock the LayerInfo, or get complicated in Intuition, since BeginRefresh() leaves the window's layers(s) locked.". -- Marco Papa 'Doc' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= uucp:...!pollux!papa BIX:papa ARPAnet:pollux!papa@oberon.usc.edu "There's Alpha, Beta, Gamma and Diga!" -- Leo Schwab [quoting Rick Unland] -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID:
<15696@oberon.USC.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!oberon!pollux.usc.edu!papaReferences:
<890305224442.20c00bb5@elcc.epfl.ch> <92676@sun.uucp>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!oberon!pollux.usc.edu!papa From: papa@pollux.usc.edu (Marco Papa) Newsgroups: comp.sys.amiga.tech Subject: Re: YARB - Yet another refresh bug ? Message-ID: <15696@oberon.USC.EDU> Date: 7 Mar 89 02:47:08 GMT References: <890305224442.20c00bb5@elcc.epfl.ch> <92676@sun.uucp> Sender: news@oberon.USC.EDU Reply-To: papa@pollux.usc.edu (Marco Papa) Organization: Felsina Software, Los Angeles, CA Lines: 22