Returns a boolean value stating whether the control container handles message reflection automatically.
Syntax
object.MessageReflect
The MessageReflect property syntax has this part:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
Settings
The possible boolean return values from the MessageReflect property are:
Setting | Description |
True | The container for the control will reflect messages. |
False | The container for the control cannot reflect messages. If the container does not implement this ambient property, this will be the default value. |
Remarks
When a control is subclassed, there are certain messages that are normally sent to the parent control. Under normal conditions, these messages are actually reflected back to the sending control, so that the control can handle its own message. This message reflection can be handled by the container, which will reflect the messages back as events. The MessageReflect property tells if the container for the control does message reflection.
If the control is ever placed in a container that does not reflect messages, the operation of the control will be severely compromised; much of the operation of a control depends on reflected messages.