posttime property

Microsoft Visio Developer Reference

posttime property

   Example   

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

Version added

2002

Syntax

intRet = object.posttime
object.posttime = intExpression

intRet

Long. The current value of the time field.

object

Required. An expression that returns a MSGWrap object.

intExpression

Required Long. The new value of the time field.

Remarks

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