The information in this article applies to:
SUMMARYThis article contains an example that demonstrates the use of the following WordBasic statements and functions: AppWindowHeight, AppWindowHeight()This article supplements the information in online Help. To open this Help topic, choose Contents from the Help menu and then choose the "Programming With Microsoft Word" topic. WARNING: ANY USE BY YOU OF THE CODE PROVIDED IN THIS ARTICLE IS AT YOUR OWN RISK. Microsoft provides this macro code "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. AppWindowHeight, AppWindowHeight()SyntaxAppWindowHeight [WindowName$,] Height ExampleThe AppWindowHeight statement adjusts the height of an application window to a specified number of points (if WindowName$ is omitted, Word is assumed). AppWindowHeight allows you to change the height of a window without affecting its width (unlike AppSize). The AppWindowHeight() function returns the height of an application window, in points. For argument descriptions, see AppSize.
AppWindowPosLeft, AppWindowPosLeft()SyntaxAppWindowPosLeft [WindowName$,] HorizPos ExampleThe AppWindowPosLeft statement moves an application window or icon to a horizontal position specified in points (if WindowName$ is omitted, Word is assumed). AppWindowPosLeft allows you to change the horizontal position of a window or icon without affecting its vertical position (unlike AppMove). The AppWindowPosLeft() function returns the horizontal position of an application window or icon, in points. For argument descriptions, see AppMove.
AppWindowPosTop, AppWindowPosTop()SyntaxAppWindowPosTop [WindowName$,] VertPos ExampleThe AppWindowPosTop statement moves an application window or icon to a vertical position specified in points (if WindowName$ is omitted, Word is assumed). AppWindowPosTop allows you to change the vertical position of a window or icon without affecting its horizontal position (unlike AppMove). The AppWindowPosTop() function returns the vertical position of an application window or icon, in points. For argument descriptions, see AppMove.
AppWindowWidth, AppWindowWidth()SyntaxAppWindowWidth [WindowName$,] Width ExampleThe AppWindowWidth statement adjusts the width of an application window to a specified number of points (if WindowName$ is omitted, Word is assumed). AppWindowWidth allows you to change the width of a window without affecting its height (unlike AppSize). The AppWindowWidth() function returns the width of an application window, in points. For argument descriptions, see AppSize.
Additional query words: 6.0 winword word6 7.0 word95 word7
Keywords : kbmacroexample |
Last Reviewed: December 28, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |