none
Prevent msword from resizing RRS feed

  • Question

  • Hi 

       I am a teacher that is currently trying to write a program that will lock students into word so that they cannot cheat.  I do not know how to prevent word from resizing.  I want it to stay maximized.  Any help would be greatly appreciated 

     

    Don 

    Thursday, September 1, 2011 9:43 PM

Answers

  • Hi Don

    Are you using the VSTO technology? Which programming language?

    Which version of Word is involved?

    There's nothing built into Word that will let you stop it from resizing. Closest you can get is to monitor the WindowSize event. This event does not have a Cancel parameter that can prevent the default action, so the best you can do is to change the size back when the event is triggered.

    Or, you'd have to work with the Windows API.


    Cindy Meister, VSTO/Word MVP
    Friday, September 2, 2011 7:06 AM
    Moderator