Export (0) Print
Expand All

message Property [Visio 2003 SDK Documentation]

Office 2003

Gets or sets the message member of the MSG structure being wrapped.

retVal = object.message

object.message = newVal

retVal     Long. The message identifier.

object     Required. An expression that returns a MSGWrap object.

newVal     Required Long. The new message identifier.

Version added

2002

Remarks

The message property corresponds to the message member of 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.

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 MSDN, the Microsoft Developer Network.



Applies to | MSGWrap object


Show:
© 2014 Microsoft