[futurebasic] Re: [FB] Hide apple menu

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : June 2014 : Group Archive : Group : All Groups

From: Robert Covington <artlythere@...>
Date: Fri, 13 Jun 2014 19:25:36 -0400
Bill, this isn't an FB problem per se you are dealing with. OS X rules that Apple I think.

I'm thinking to remove that item specifically, you'd have to fake a menu bar. 

You'd probably have to hide the 'real' menu bar, then assemble your own menubar graphically, draw it, track clicks to that rectangle and subrects, and upon a click, assemble a contextual type popup menu there at a good looking clickpoint with relevant items? Could get complicated.

Not sure Apple allows you to remove the Apple menu itself…but maybe can using Cocoa. However, FB 32 bit apps utilize Carbon menus. To go 64 bit, you have to use Cocoa direct, or my runtime experiment, but then you are still dealing with Cocoa potentially or everything else, other than event handling.

https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/MenuList/Articles/RemovingMenu.html

On Jun 13, 2014, at 5:51 PM, Bill Tomlinson <billtomlinson@...> wrote:

> Yep, that works. But it hides all the menus. I just wanted to hide the zeroth menu.
> 
> On Jun 13, 2014, at 2:25 PM, Bernie wrote:
> 
>> 
>> Command-double-click HideMenuBar reveals that it is declared in Tlbx Menus.incl. That header is not included by default, so try doing a:   include "Tlbx Menus.incl”   and see if that works.
>> 
>> 
>> On 13 Jun 2014, at 21:31, Bill Tomlinson <billtomlinson@...> wrote:
>> 
>>> Except it doesn't work. It says Unknown variable,
>>> I've tried putting a call in front of it, a call fn in front, a underscore before it. All the combinations. Always a syntax error.
>>> 
>>> 
>>> On Jun 13, 2014, at 1:06 PM, Brian S wrote:
>>> 
>>>> 
>>>> Bill Tomlinson wrote:
>>>> 
>>>>> Does anyone know of a way to kill or hide the Apple Menu in FB5?
>>>> 
>>>> HideMenuBar does what it says. 
>>>> 
>>> 
>> 
>