Menubar on Windows???

xavier.bury at clearstream.com xavier.bury at clearstream.com
Tue Dec 11 10:50:20 EST 2007


Hi Richard,

While the idea of a floating menubar is really nice (and so NeXT like!), 
it does pose a few problems on windows:

- win32 task bar object - rev here is a nightmare - click on one and the 
menubar still stays behind/hidden for example...
- If you hide the application, dont forget to hide the menu - but maybe 
that's not wanted but maybe yes other times
- submarining the menu as you mentioned - but sometimes it is the other 
way around. And there's a bug in RR where the palettes are submarined by 
the normal stacks (fixed in 2.9?)
- it's not standard and most windows users hate separate menus (as far as 
i've heard and seen them moan)
- a separate menu steals more desktop real-estate than an included menu

There's reasons why it could be cool but when you are used to menus being 
always on top of the window, you dont have to look for them. 
The same goes for a Mac user who sees their window while the menu of 
another application (which is active with no [overlapping] windows) is 
visible...

just my two revcents...
---------------------=---------------------
Xavier Bury

use-revolution-bounces at lists.runrev.com wrote on 11/12/2007 16:36:57:

> Dave wrote:
> > This is what I don't understand. How to I set the "menu group" on 
> > Windows? I can (and have set it and it works ok on Mac). I have a 
> > Menubar group in a stack called "MenuBar" how can I use this menubar 
> > group as the menu bar for the current stack under Windows?
> 
>  From the Rev Dictionary entry for "menubar":
> 
>     On Mac OS systems, when a stack's menubar property is set,
>     the stack is scrolled and resized on Mac OS systems so that
>     the group is not visible in the stack window. (On Unix and
>     Windows systems, this is not necessary, since the menu bar
>     is normally displayed in the window.)
> 
> On Windows (and pretty every other OS but Mac), the convention is the 
> have menus at the top of the window.  Only Mac detaches them to have a 
> separate menu bar at the top of the monitor.  To facilitate this, the 
> menuBar property of a stack defines a group in a stack which will be 
> automatically scrolled out of view when run on OS X, but will appear in 
> place on all other systems.
> 
> While contrary to convention, it's possible to have a menu bar on 
> Windows which is separate from the stack.  In fact, Rev does this, and 
> one of the products we develop here does also (though we're in the 
> process of redesigning it to adhere to convention in the next version).
> 
> To have a separate menu bar on Windows just build the menu group in a 
> separate stack and open it as palette so that it doesn't get covered by 
> the other windows in your application.
> 
> If your other windows are resizable you can also adjust the 
> windowBoundingRect property to account for your menubar stack, so 
> zooming won't submarine the top of the document below the menu stack.
> 
> -- 
>   Richard Gaskin
>   Managing Editor, revJournal
>   _______________________________________________________
>   Rev tips, tutorials and more: http://www.revJournal.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution



----------------------------------------------------------------------------
Clearstream Services S.A.
42 Avenue JF Kennedy, L-1855 Luxembourg
Société anonyme is organised with limited liability
in the Grand Duchy of Luxembourg R.C.S. Luxembourg B 60911.


-----------------------------------------
Visit us at http://www.clearstream.com

IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents
of this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you
are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. Any views expressed in
this e-mail are those of the individual sender, except where the
sender specifically states them to be the views of Clearstream
International or of any of its affiliates or subsidiaries.

Legally required information for business correspondence/
Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz:
http://deutsche-boerse.com/letterhead

END OF DISCLAIMER


More information about the use-livecode mailing list