// Machine generated IDispatch wrapper class(es) created with ClassWizard ///////////////////////////////////////////////////////////////////////////// // _IXPanelEvents wrapper class #include "stdafx.h" class _IXPanelEvents : public COleDispatchDriver { public: _IXPanelEvents() {} // Calls COleDispatchDriver default constructor _IXPanelEvents(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} _IXPanelEvents(const _IXPanelEvents& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} // Attributes public: // Operations public: // method 'OnClick' not emitted because of invalid return type or parameter type HRESULT OnClick(BSTR bstr) { AfxMessageBox("Message from Control"); } };