Hi all,
I've searched the groups and the web for a solution but found none. I
have the following problem:
- I need a way to restrict the users from using certain Word features,
fonts and colors etc.
- I have a template file that has a handler for the Document_New and
Document_Open. These handlers hide all menus and toolbars and
deactivate most hotkeys, and create another menu bar with several
options in it and another toolbar that only allows the user to change
the fonts (only a few fonts) and do some other stuff.
- Before any customizations, I do set the customization context to
ActiveDocument.
- The problem is: when the user opens another document, which is not
based on my template, Word opens without menus and toolbars. I would
like Word to open normally when displaying documents that are not based
on my template.
- Additional info: I have a handler (Document_Close) in my template
that makes the normal menu and toolbars re-appear when the document is
closed, so if the user first closes the document based on my template
and then opens another document that is not based on my template,
everything is OK. I would like to allow the user to work on normal
documents in a normal way (i.e. with all "normal" toolbars and menus)
even while a doc based on my template is open.
I hope I made myself understood. If you have any information, I would
very much appreciate it.
Thanks,
Gecko.
Word Heretic - 18 Mar 2005 13:35 GMT
G'day vebcaster@gmail.com,
My solution is to have static toolbars in ya global template and then
provide an option to USe Normal Interface (hide all toolbars with your
prefix & show the formatting & std toobars) or Use My Interface (hide
all toolbars then show those with your prefix)
Steve Hudson - Word Heretic
steve from wordheretic.com (Email replies require payment)
Without prejudice
vebcaster@gmail.com reckoned:
>Hi all,
>
[quoted text clipped - 31 lines]
>Thanks,
>Gecko.