wParam property

Microsoft Visio Developer Reference

wParam property

   Example   

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

Version added

2002

Syntax

intRet = object.wParam
object.wParam = intExpression

intRet

Long. Additional information about the message that is dependent on the message number.

object

Required. An expression that returns a MSGWrap object.

intExpression

Required Long. The new value of the wParam field.

Remarks

The wParam property corresponds to the wParam field in the MSG structure defined as part of the Microsoft Windows operating system. If an event handler is handling the OnKeystrokeMessageForAddon event, Visio passes a MSGWrap object as an argument when this event fires. A MSGWrap object is a wrapper around the Windows MSG structure.

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