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: Arnaud Nicolet <arnaud at tribu dot ch>
Date: Thu, 29 Mar 2007 16:18:31 +0200
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20070329004334 dot C394A7222B6 at mail dot verex dot com>
Le 29 mars 07 à 02:43 Matin, joe at strout dot net a écrit:

> On Mar 29, 2007, at 00:01 UTC, Arnaud Nicolet wrote:
>
>> So it's a Win32 only frame :-(
>
> No, it's a frame that describes a modeless dialog!  How exactly that
> looks and behaves is up to the OS.  On the Mac, a modeless dialog is
> not *supposed* to stay on top (that would make it modal).  Apparently
> on Windows it is.  On the Mac, maybe it looks the same as a dialog
> window today, but maybe next year Apple  will choose to make it look
> different.  Who cares?  If it's a modeless dialog, set the frame type
> to 11 and you'll get the correct behavior on all platforms and
> versions.  Who do you keep worrying about the details on some
> particular platform and version?  Just set it and forget it; let  
> the OS
> make it look and feel as it should.

Hmm... Well... So, the main condition is that a modeless window is  
actually defined by the OS...

Because, on Mac OS X, using RB, you can make a document window,  
remove the zoom button and resize button, remove the IsInWindowsMenu  
property and you also get a modeless dialog.
In my opinion, the modeless dialog, if it's really a specific defined  
frame in OS X, is actually a "copy" of a document window.
_______________________________________________
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>