I might also note that the "window number," as I think of it, changes based on the window in the window hierarchy. The front most window is always "0," the one directly behind it is "1," etc.
Handles are, as far as I can see, always different with every launch of your application and probably each time a window is opened. They do seem stable until the application is closed or until the specific window is closed. You should be able to grab the Handle anytime the window is opened. When a window is opened, just place its handle in an integer property. If all else fails, depending on your situation, you could add a static integer property to each window and manually give it a unique number. _______________________________________________ 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>
