Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.wtal.de!news.tal.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Karl Wochele Newsgroups: comp.lang.clipper.visual-objects Subject: Re: Transparent screens and no resources Date: Fri, 21 Sep 2012 14:26:56 +0200 Lines: 52 Message-ID: References: <6IX6s.521110$%s2.347270@fx17.am4> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net obSvgy3h09bRXPkvv6hFggXsM3gPme/3qvXs7glrsQahPG4R9SZIKN5jzJ8J/feAPm Cancel-Lock: sha1:Jqod266zbAQ6KmWkxck+PAFQ5Lo= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 In-Reply-To: Xref: csiph.com comp.lang.clipper.visual-objects:4131 difficult to say... as far as i remember things get really bad if you come near 10000. What you have to observe is, that after opening and closing the same window many times the number must not grow... If it grows, some windows-handles (brushes, pens, bitmaps,...) do not get released and in the end trouble begins. Karl Am 21.09.2012 14:16, schrieb Martin: > OK doing some tests > > Program as we go in > and login 69 > > Resourse monitor 72 > > Order Entry 468 > exit OE & collect 108 > > Optimising a lot - up to 700 or so > exit it & collect 203 > > Does this sound right? > > Thanks > > Martin > > On 21/09/2012 13:04, Karl Wochele wrote: >> Windows... >> >> here's the definition >> >> _DLL FUNC GetGuiResources(hProcess AS PTR,uiFlags AS DWORD) AS DWORD >> PASCAL:USER32.GetGuiResources >> >> Am 21.09.2012 13:54, schrieb Martin: >>> Thanks >>> >>> Where does GetGuiResources() come from please? >>> >>> Thanks >>> >>> Martin >>> >>> On 21/09/2012 12:50, Karl Wochele wrote: >>>> GetGuiResources(GetCurrentProcess(),GR_GDIOBJECTS) >>>> DEFINE GR_GDIOBJECTS := 0 >>> >