hwnd property

Microsoft Visio Developer Reference

hwnd property

   Example   

Gets or sets the HWND field of the MSG structure being wrapped.

Version added

2002

Syntax

retVal = object.hwnd
object.hwnd = newVal

retVal

Long. A handle to the window that fired the OnKeystrokeMessageForAddon event.

object

Required. An expression that returns a MSGWrap object.

newVal

Required Long. The new window handle.

Remarks

The properties of the MSGWrap object correspond to the fields in the MSG structure defined as part of the Microsoft Windows operating system.

For details, search for "MSG structure" on the Microsoft Developer Network (MSDN) Web site.