请教各位大虾,为什么ToolTip不能正常工作?
问题描述:主窗口是一Dialog,它有一组件对象,调用该对象方法建立一子窗口,子窗口的
BOOL CTNCDlg::PreTranslateMessage( MSG* pMsg )
{
// Let the ToolTip process this message.
m_tooltip.RelayEvent( pMsg );
return CDialog::PreTranslateMessage( pMsg );
}不被响应,因而ToolTip不能正常工作,为什么?