realbasic-nug
[Top] [All Lists]

Re: possible range for Window.handle

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: possible range for Window.handle
From: Charles Yeomans <yeomans at desuetude dot com>
Date: Thu, 30 Jun 2005 16:54:36 -0400
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <002b01c57dab$8d4f47f0$a301a8c0 at joe><23B8462F-9526-483D-8ECD-03C66BF46CFE at freaksw dot com><144c0ce0fa9b215e784f41c3cd5050ec at desuetude dot com> <5BB9D4C4-0ACE-46B8-8B2E-DA9399A7FDEA at freaksw dot com> <000e01c57db4$4561f4c0$a301a8c0 at joe>

On Jun 30, 2005, at 4:42 PM, O.H. wrote:

0 means there is no handle. Anything else means there is one, and
by nature it should be a positive number.

Is there ever a circumstance where a current instance of a window would not
have a handle?

Also, I was under the mistaken impression I could pass the window function a handle and it would return a reference to the window with that handle... After re-reading the Language Reference, I realize that I was misunderstood that function. Is there already a function that will return a reference to a window when passed the window's handle, or do I need to just make my own that will loop through all the windows and check their handles for a match?

You'll need to write your own function.

--------------
Charles Yeomans

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>