Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / August 2005

Tip: Looking for answers? Try searching our database.

Removing the document view icons from bottom left of Word document

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
cameo007_2k@hotmail.com - 08 Aug 2005 11:04 GMT
Hi,

I have this Word add-in that interacts with the User (i.e.) expects the user
to select some text etc... and also during the entire duration of the
execution of the add-in code, the add-in expects the document to be in the
print view. To ensure this, once the add-in button is clicked, the add-in
sets the view to the print view and then executes (I am also switching off
and on the toolbars here). But in the middle of the execution, if the user
changes the view using the icons appearing in the bottom left to normal or
even worse, reading layout, the add-in would fail. Moreover since I have
switched off my toolbars, if the user switches to reading layout, the users
have no way of returning to the print view. Moreover it would be extra load
on my add-in if it needs to check at every point if the view is print view
and if not reset it back. Is there any way around this?? Can I not show
these icons to the user or can I suppress the changing of document views
programmatically?? Thanks in advance.

Thanks and Regards,
Laks
Doug Robbins - 08 Aug 2005 11:48 GMT
You can trap an attemp to change to the normal view by having a macro with
the name ViewNormal() that does nothing.  That macro will then run in place
of the view switching to Normal.  Unfortunately, when the Reading Layout was
added to Word, that command was not exposed so I don't know how to trap
that.

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

> Hi,
>
[quoted text clipped - 18 lines]
> Thanks and Regards,
> Laks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.