关于托盘气泡上的图标显示
我的是win7系统,加了这两句,却不显示
- C/C++ code
m_nd.hBalloonIcon=hico; Shell_NotifyIcon(NIM_MODIFY,&m_nd);
还需要做什么处理吗
[解决办法]
在这个函数里加上类似m_tooltip.RelayEvent(pMsg);的代码
BOOL C八嘎Dlg::PreTranslateMessage(MSG* pMsg)
{
// TODO: 在此添加专用代码和/或调用基类
m_tooltip.RelayEvent(pMsg);
return CDialogEx::PreTranslateMessage(pMsg);
}