5,530
社区成员
发帖
与我相关
我的任务
分享
class parent;
class child
{
public :
child();
virtual ~child();
private :
parent* m_pParent;
};
SysTray::NotifyFunc func = std::tr1::bind(&Frame::onMainTrayNotify, this, std::tr1::placeholders::_1);
_tray.registerNotify(func);
// TODO (qpsoft#1#): 此处32512需要修改成IDI_MAIN
_tray.init(_inst, _wnd, 32512);
_tray.add();
func = std::tr1::bind(&Frame::onInfoTrayNotify, this, std::tr1::placeholders::_1);
_tipFrame.registerNotify(func);
if (_tipFrame.registerWindow(L"Info Frame - QPSOFT.COM"))
{
_tipFrame.create(NULL, L"Info Frame", L"Info Frame - QPSOFT.COM", WS_POPUP, WS_EX_TRANSPARENT);
_tipFrame.showWindow(SW_MINIMIZE);
_tipFrame.showWindow(SW_HIDE);
}