Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #8208

Re: class shellwindow

From "Johan Nel" <johan.nel@xsinet.co.za>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: class shellwindow
Date 2015-06-15 14:35 +0200
Organization A noiseless patient Spider
Message-ID <mlmgog$9sp$1@dont-email.me> (permalink)
References <fd4c6616-857c-4001-bc0d-873634316ce9@googlegroups.com> <f844c8f0-917d-4903-8bf2-86bee5446490@googlegroups.com> <557EAA84.7010102@heliks.nl>

Show all headers | View raw


Moshe,

Want to confirm what Robert is saying, it is a memory issue.  Busy with some 
benchmarking on my side with a console application and on a desktop with 
quad-core 4Gb Ram Vista, I am able to get about 750 concurrent instances of 
the same application running before windows tells me it is running out of 
resources.

On a laptop Windows XP core 2 duo with 2Gb ram windows runs out of resources 
at around 300 concurrent applications.  The maximum you will be able to open 
will be dependend on how many other applications are also using Windows 
resources.

As Karl also noted, do you really need >500 datawindows opened concurrently?

HTH,

Johan Nel
Vulcan VIP
Durban, South Africa.

"Robert van der Hulst" <robert@heliks.nl> wrote in message 
news:557EAA84.7010102@heliks.nl...
> Moshe,
>
> There is no fixed maximum, and also no internal array.
> Window:GetAllChildren uses an API function (GetWindow()) to list all 
> window handles that are
> children from the Shell and finds the windows that are attached to these 
> Handles.
> It creates an array on the fly.
>
> The maximum is only determined by the available resources (memory, fonts, 
> brushes, etc)
> You can probably add a lot of simple datawindows, but much less 
> complicated datawindows (with tabs, subwindows etc) to the same shell.
>
> Robert
>
>
>> On Saturday, June 13, 2015 at 1:44:03 PM UTC+3, moshe attia wrote:
>>> hi all
>>>
>>> i need to control the max child window under shellwindow
>>>
>>> i see the method arrange closeallchilren.....
>>> but i cant see the size of array and the max child
>>>
>>> moshe
>> hi
>>
>> i try to know what the max datawindow can i open on shellwindow
>>
>> i arrive to ~~500 windows..
>>
>> i need to know how to add more window
>>
>>
>>   moshe
>>
>>
>>
>>
>>
>> .
>>
>
>
> -- 
> Robert van der Hulst
> robert@heliks.nl



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

class shellwindow moshe attia <attiamx@gmail.com> - 2015-06-13 03:44 -0700
  Re: class shellwindow JohnMartens <martens@tennishulp.info> - 2015-06-13 19:11 +0200
  Re: class shellwindow moshe attia <attiamx@gmail.com> - 2015-06-14 00:48 -0700
    Re: class shellwindow Karl Faller <mail_withoutthat_@_drei-f_andthat_.de> - 2015-06-14 10:48 +0200
    Re: class shellwindow JohnMartens <martens@tennishulp.info> - 2015-06-14 12:33 +0200
    Re: class shellwindow Robert van der Hulst <robert@heliks.nl> - 2015-06-15 12:35 +0200
      Re: class shellwindow "Johan Nel" <johan.nel@xsinet.co.za> - 2015-06-15 14:35 +0200
  Re: class shellwindow moshe attia <attiamx@gmail.com> - 2015-06-15 12:27 -0700

csiph-web