pty Property [Visio 2003 SDK Documentation]
Gets or sets the pt.y member of the MSG structure being wrapped.
intRet = object**.pty**
object**.pty** = intExpression
intRet Long. The y-coordinate of the pointer position when this message was posted.
object Required. An expression that returns a MSGWrap object.
intExpression Required Long. The new value of the pt.y member.
Version added
2002
Remarks
The pty property corresponds to the pt.y member in the MSG structure defined as part of the Microsoft Windows operating system. If an event handler is handling the OnKeystrokeMessageForAddon event, Microsoft Office 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 MSDN, the Microsoft Developer Network.
Applies to | MSGWrap object