Overloading IPropertyNotifySink

Many ActiveX control containers implement a modeless property browsing window. If a control's properties are altered through the control's property pages, then the control's properties can get out of sync with the container's view of those properties (the control is always right, of course). To ensure that it always has the current values for a control's properties, an ActiveX control container can overload the IPropertyNotifySink interface (data binding) and also use it to be notified that a control property has changed. This technique is optional and is not required of ActiveX control containers or ActiveX controls.

Note that a control should use OnRequestEdit only for data binding; it is free to use OnChanged for either or both purposes.

 

 

Community Additions

ADD
Show:
© 2014 Microsoft