MSGWrap.ptx property (Visio)

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

Syntax

expression. ptx

expression A variable that represents an MSGWrap object.

Return value

Long

Remarks

The ptx property corresponds to the pt.x 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.