消息映射问题??急!!!!!!!!
各位大侠:
小弟的CMainFrame派生与CFrameWnd和另外一个自定义的类,
在消息映射的ON_NOTIFY(TBN_DROPDOWN, AFX_IDW_TOOLBAR,OnToolbarDropDown)处出错,提示为:
error C2440: 'type cast' : cannot convert from 'void (__thiscall CMainFrame::*)(struct tagNMTOOLBARA *,long *)' to 'void (__thiscall CCmdTarget::*)(unsigned int,struct tagNMHDR *,long *)'
Pointers to members have different representations; cannot cast between them
我怀疑是多重派生惹的祸???
请教各位大侠指点??