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


Groups > comp.lang.clipper.visual-objects > #8201 > unrolled thread

class shellwindow

Started bymoshe attia <attiamx@gmail.com>
First post2015-06-13 03:44 -0700
Last post2015-06-15 12:27 -0700
Articles 8 — 5 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  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

#8201 — class shellwindow

Frommoshe attia <attiamx@gmail.com>
Date2015-06-13 03:44 -0700
Subjectclass shellwindow
Message-ID<fd4c6616-857c-4001-bc0d-873634316ce9@googlegroups.com>
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

[toc] | [next] | [standalone]


#8202

FromJohnMartens <martens@tennishulp.info>
Date2015-06-13 19:11 +0200
Message-ID<mlho5r$90u$1@dont-email.me>
In reply to#8201
Does this help ?

aChildWindows := SELF:GetAllChildren()
if ALen(AChildWinwdows) > 15
endif

moshe attia schreef op 13-6-2015 om 12:44:
> 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
>

[toc] | [prev] | [next] | [standalone]


#8204

Frommoshe attia <attiamx@gmail.com>
Date2015-06-14 00:48 -0700
Message-ID<f844c8f0-917d-4903-8bf2-86bee5446490@googlegroups.com>
In reply to#8201
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




[toc] | [prev] | [next] | [standalone]


#8205

FromKarl Faller <mail_withoutthat_@_drei-f_andthat_.de>
Date2015-06-14 10:48 +0200
Message-ID<ltfqna10v5g78ek6fljonc66vom5s21cte@4ax.com>
In reply to#8204
>i try to know what the max datawindow can i open on shellwindow

>i arrive to ~~500 windows..
probably depends on Dynsize.
>i need to know how to add more window
But, > 500 forms in a shell????

Karl

[toc] | [prev] | [next] | [standalone]


#8206

FromJohnMartens <martens@tennishulp.info>
Date2015-06-14 12:33 +0200
Message-ID<mljl68$th6$1@dont-email.me>
In reply to#8204
I think you should (automaticaly) close windows before you end up with 
500 open windows


moshe attia schreef op 14-6-2015 om 9:48:
> 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
>
>
>
>
>

[toc] | [prev] | [next] | [standalone]


#8207

FromRobert van der Hulst <robert@heliks.nl>
Date2015-06-15 12:35 +0200
Message-ID<557EAA84.7010102@heliks.nl>
In reply to#8204
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

[toc] | [prev] | [next] | [standalone]


#8208

From"Johan Nel" <johan.nel@xsinet.co.za>
Date2015-06-15 14:35 +0200
Message-ID<mlmgog$9sp$1@dont-email.me>
In reply to#8207
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

[toc] | [prev] | [next] | [standalone]


#8211

Frommoshe attia <attiamx@gmail.com>
Date2015-06-15 12:27 -0700
Message-ID<499041ea-60c6-4d50-8b9f-d921f17e856c@googlegroups.com>
In reply to#8201
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 thank you all
you help me to continue with my app.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web