|
Only the applications menu on the Session Manager can be customized in
a supported way.
You can use the info in 2350 to make items on the Session Manager
pulldown menus insensitive in a non-supported way. That will keep
the user's from being able to access the functions.
I don't think you can change the CONTENTS of the menus via a resource
file since all the menu items are created in UIL. But I have never
tried it. I believe that is why your resources are not working. The
Session Manager does not look at the resource file or any resources
called num_PrintMenu when it builds the print and customize menus.
So, you can set insensitive on the menu items that you do not want the
users to access. They will still be in the menu, but the user will
not be able to choose them. That is what the example in 2350 does for
you. You could try making the whole pulldown menu insensitive. I am
not sure if this works.
In case you want to try that, the resource names for the pulldown menus
are:
PrintPulldown
CustomizePulldown
So, to make the whole menu inaccessible try adding the following lines
to the resource file
*PrintPulldown.sensitive: false
*CustomizePulldown.sensitive: false
Addressing this need to customize the Session Manager menus was a high
priority for the next release of DECwindows. Things should be A LOT
easier to customize in the next release...
|