#include <IControlViewObservers.h>
|
| enum | { kDefaultIID = IID_ICONTROLVIEWOBSERVERS } |
| |
IControlViewObservers can be called in place of IObserver::AutoAttach() and IObserver::AutoDetach(). CControlView actually does this. Of course this interface can be repurposed in any way you see fit.
| virtual void IControlViewObservers::OnDoAutoAttach | ( | IControlView * | view | ) | |
| pure virtual |
Called when the control is being attached, for example CControlView::DoAutoAttach()
- Parameters
| virtual void IControlViewObservers::OnDoAutoDetach | ( | IControlView * | view | ) | |
| pure virtual |
Call when the control is being detached, for example CControlView::DoAutoDetach
- Parameters