toolbar in print preview

J

john

trying to secure all areas to prevent a user from getting
at code or eliminating toolbars.

all reports first go to print preview. the user will then
select print if everything ok.
i have a basic print tool bar of close and print for them
to use.

how to i prevent them from hitting the little x and
closing the toolbar?
 
S

SA

John:

There's no effective way to do that, i.e. prevent closing the toolbar.
Normally you'd call an api function to dim the X on the toolbar (which is
simply a Window like any other Window), however with Office toolbars you
can't do that because the Office toolbars are subclassed objects and their
window handles are not easily obtained.
 
S

sa

steve, thanks for your help. i have been searching a long
time to try to find a soln.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top