hwnd Property [Visio 2003 SDK Documentation]

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

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.

Version added

2002

Remarks

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

For details, search for "MSG structure" on MSDN, the Microsoft Developer Network.

Applies to | MSGWrap object

See Also | lParam property | message property | posttime property | ptx property | pty property | wParam property