MSGWrap.pty property (Visio)

Gets or sets the pt.y member of the MSG structure being wrapped. Read/write.


expression. pty

expression A variable that represents an MSGWrap object.

Return value



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 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.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.