I have attempted to change a menubar settings so that users can do
nothing to it: move it, close it etc.
This occurred because Citrix users could pull the bar off the top of
the screen, close it and then never be able to find it again, and we
couldn't log in to fix it. We would change the menubar properties in
the next release, but they couldn't take effect as these properties
appear to be stored in the users registry settings.
This way, the settings are set so that the menubar is 'frozen' as soon
as the main switchboard is opened. I assume this same problem could
occur for non-Citrix users too, but it doesn't seem to for some reason.
This is what I did.
' Note: Protection Property has the following bit settings:
' 1 = Disallow Customizing
' 2 = Disallow Resizing
' 4 = Disallow Moving
' 8 = Disallow Showing/Hiding
' 16= Disallow Docking Changes
' To allow user to make any changes, set all bits off
'CommandBars("MyMainMenu").Protection = 0
' To allow user to make NO changes, set all bits on
CommandBars("MyMainMenu").Protection = 31
I can find no property that allows me to change the Show On Toolbars
Menu property.
Any comments appreciated, but this is posted mainly for information.
Ray