ON_PROPNOTIFY_REFLECT

The ON_PROPNOTIFY_REFLECT macro, when used in the event sink map of an OLE control's wrapper class, receives property notifications sent by the control before they are handled by the control's container.

ON_PROPNOTIFY_REFLECT(theClass, dispid, pfnRequest, pfnChanged )

Parameters

  • theClass
    The class to which this event sink map belongs.

  • dispid
    The dispatch ID of the property involved in the notification.

  • pfnRequest
    Pointer to a member function that handles the OnRequestEdit notification for this property. This function should have a BOOL return type and a BOOL* parameter. This function should set the parameter to TRUE to allow the property to change and FALSE to disallow. The function should return TRUE to indicate the notification was handled; otherwise FALSE.

  • pfnChanged
    Pointer to a member function that handles the OnChanged notification for this property. The function should have a BOOL return type and no parameters. The function should return TRUE to indicate the notification was handled; otherwise FALSE.

Requirements

Header: afxdisp.h

See Also

Concepts

MFC Macros and Globals

ON_EVENT_REFLECT

ON_PROPNOTIFY