message property
Gets or sets the message field of the MSG structure being wrapped.
Version added
2002
Syntax
| |
| |
retVal |
Long. The message identifier. |
object |
Required. An expression that returns a MSGWrap object. |
newVal |
Required Long. The new message identifier. |
Remarks
The message property corresponds to the message 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.
The OnKeystrokeMessageForAddon event fires for messages in the following range:
WM_KEYDOWN |
0x0100 |
WM_KEYUP |
0x0101 |
WM_CHAR |
0x0102 |
WM_DEADCHAR |
0x0103 |
WM_SYSKEYDOWN |
0x0104 |
WM_SYSKEYUP |
0x0105 |
WM_SYSCHAR |
0x0106 |
WM_SYSDEADCHAR |
0x0107 |
For details, search for "MSG structure" on the Microsoft Developer Network (MSDN) Web site.