Previous Document Next Document
Window.Handle

Property Handle As Long

Member of Window

The Handle property returns the window handle for the document window.

The Handle property returns a read-only value.

The following code example displays the window handle for the active window:

Sub Test() 
 MsgBox "The window handle is: " & ActiveWindow.Handle & "." 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.