Previous Document Next Document
Window.Width

Property Width As Long

Member of Window

The Width property returns or sets the width of a window. This value is measured in screen pixels.

The following code example displays the width of the active window:

Sub Test() 
 MsgBox "The width of the active window is: " & ActiveWindow.Width 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.