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>
|