可以实现的方法是继承CBITMAPBUTTON类,建立TIP控件并实现,应该很简单
class CMyButton : public CBitmapButton
{
...
CToolTipCtrl tip;
}
void CMyButton::SetBtnTip(LPCTSTR lpszTip)
{
tip.AddTool(this, lpszTip);
}
BOOL CMyButton::PreTranslateMessage(MSG* pMsg) 
{
// TODO: Add your specialized code here and/or call the base class
tip.RelayEvent(pMsg);
}你可以把分都给我了!!!!!!