Path: 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 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] -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=