How can I prevent the maximize/resizing of a Word document window

A

Anurag Kohli

How can I disable the maximize button of a Word document or prevent resizing
of a Word document.
I have developed an addin which requires that the maximize/resizing of a Ms
Word document window should be prevented.
I have used C# to develop the addin for Word 2003.
Is there a way of achieving this ??
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?QW51cmFnIEtvaGxp?=,
How can I disable the maximize button of a Word document or prevent resizing
of a Word document.
I have developed an addin which requires that the maximize/resizing of a Ms
Word document window should be prevented.
I have used C# to develop the addin for Word 2003.
Is there a way of achieving this ??
There's nothing in Word's object model that you can use, as far as I know. So
that would mean you'd need to use the Windows API to take control of the actual
document Window.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 

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