realbasic-nug
[Top] [All Lists]

Re: What is frame 11 for a window?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: What is frame 11 for a window?
From: Thom McGrath <lists at thezaz dot com>
Date: Thu, 29 Mar 2007 00:07:24 -0400
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <000e01c770db$e844a4f0$6401a8c0 at MikeBrHP> <A8BEF526-7999-4DD5-9D85-7ACE74B48AC8 at tribu dot ch> <E9321F5F-1CD5-4080-B7AC-EDC8F74C4888 at seedit dot info> <33FE9246-2C14-494B-8DB5-20C807A29C47 at tribu dot ch>
As I already described, (this at least applies to the Mac), a search  
window may look like a document window. But since it's not a window  
which represents a document, it's not a document window. Use frame 11  
for windows which do not represent a document, and use 0 for windows  
which do represent a document, or should appear in the "Window" menu.  
Document windows also appear in the application's dock menu, whereas  
modeless windows do not.

Modeless dialogs and document windows *are not* the same thing and  
although look the same now, their appearance and behavior may differ  
more in the future. They use different resources in the Extras.rsrc  
HIToolbox file, and *can* look different under different OS themes of  
both hacked and ShapeShifter varieties.

They are different and they have different behavior, subtle as it is.

--
Thom McGrath
The ZAZ Studios
<http://www.thezaz.com/> AIM: thezazstudios


On Mar 28, 2007, at 9:51 AM, Arnaud Nicolet wrote:

>>> A search window, in the Mac, is most of the time a window that is  
>>> not
>>> always in top (in appearance, almost as a document window).
>>
>> And the RB 11, do not stay on top...
>
> Good point.
> I am really wondering what difference RB provides for a document
> window and a modeless dialog.

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

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


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