lParam property

Microsoft Visio Developer Reference

lParam property

See also   Example   

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

Version added

2002

Syntax

intRet = object.lParam
object.lParam= intValue

intRet

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

object

Required. An expression that returns a MSGWrap object.

intValue

Required Long. The new value of the lParam field.

Remarks

The lParam property corresponds to the lParam 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.