Previous Document Next Document

Object Model Reference : Classes : W : Window : Properties : Window.Handle


Window.Handle

Property Handle As Long

Description

Member of Window

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

The Handle property returns a read-only value.

VBA example

The following VBA 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 2013 Corel Corporation. All rights reserved.