On Jan 31, 2008, at 10:16 AM, Norman Palardy wrote:
>
> On 31-Jan-08, at 10:50 AM, Eric Williams wrote:
>
>> Not to be presumptuous, but the fact that you are even asking this
>> question brings me to question the structure of your application. Why
>> do you need to do this? Is there some reason you're not keeping track
>> of your windows when you create them?
>
> Well ,,, you don't HAVE to since the runtime does do it for you :)
>
> You can just cycle through Window(i) and see if a window ISA kind and
> then test it for being visible or not
>
True enough - but this seems like extra work to me. Why not just keep
track of everything as you create it? That way you'll always know
what's going on instead of having to repeatedly cycle through all the
windows to find the one you want.
Eric Williams
Oxalyn Software
http://software.oxalyn.com/
AE Monitor
http://software.oxalyn.com/AEMonitor/
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|