Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ON_PROPNOTIFY_REFLECT
TRY
Collapse the table of content
Expand the table of content

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 )

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.

Header: afxdisp.h

Community Additions

ADD
Show:
© 2015 Microsoft