COleControlContainer::AttachControlSite

调用由框架创建和附加控制站点。

virtual void AttachControlSite( 
   CWnd* pWnd, 
   UINT nIDC = 0  
); 
void AttachControlSite( 
   CWnd* pWnd, 
   UINT nIDC = 0  
);

参数

  • pWnd
    CWnd 对象的指针。

  • nIDC
    要附加的控件的ID。

备注

如果要自定义此过程,请重写此功能。

备注

如果静态链接到MFC库,请使用此函数的第一个窗体。如果使用MFC动态链接库,请使用第二种形式。

要求

Header: afxocc.h

请参见

参考

COleControlContainer Class

层次结构图