托盘类自定义消息
static HtTray* GetInstance();
HtTray* HtTray::pTrayInstance = NULL;
HtTray* HtTray::GetInstance()
{
if (pTrayInstance == NULL)
{
pTrayInstance = new HtTray;
}
return pTrayInstance;
}
托盘类自定义消息 winmain (win32工程)——LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) 响应消息
MyRegisterClass(HINSTANCE hInstance) 注册消息处理机制
浙公网安备 33010602011771号