急,我的程序是不是活见鬼了??(关于SublassWindow 的问题)
冷羽 2003-02-25 12:33:52 我正在做的一个程序有这样一个问题。
m_Button1.SubclassDlgItem(IDC_BUTTON1,this);是没有什么问题的,可是当我用这个函数m_Button1.SublassWindo(::GetDlgItem(this->m_hWnd,IDC_BUTTON1));时就报出了一百多个错误,不知为什么??
错误信息如下:
warning C4003: not enough actual parameters for macro 'SubclassWindow'
error C2059: syntax error : '('
error C2039: 'm_Button1' : is not a member of 'CStatic'
see declaration of 'CStatic'