16,471
社区成员
发帖
与我相关
我的任务
分享
public:
virtual BOOL Create( DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID,
CCreateContext* pContext = NULL,LPCTSTR lpszClassName = NULL, LPCTSTR lpszWindowName = NULL);
BOOL CCustomBar::Create(DWORD dwStyle, const RECT &rect, CWnd* pParentWnd, UINT nID)
{
CToolBarCtrl::Create(dwStyle,rect,pParentWnd,nID);//调用父类的create方法
....
....
}
BOOL CCustomBar::Create(DWORD dwStyle, const RECT &rect, CWnd* pParentWnd, UINT nID,CCreateContext* pContext,LPCTSTR lpszClassName,LPCTSTR lpszWindowName)
{
//..
}