Make shell applet popup messages for fatal errors

This commit is contained in:
Ron Pedde
2007-02-06 04:32:16 +00:00
parent ec9ab04b40
commit d8187985e8
2 changed files with 72 additions and 41 deletions

View File

@@ -20,6 +20,18 @@
#include "ServiceControl.h"
#include "ServerEvents.h"
class CNotifyMsg {
UINT32 id;
UINT32 intval;
CString strval;
public:
CNotifyMsg(UINT32 id, UINT32 intval, const CString &strval);
CString &GetStrval(void) { return strval; };
UINT32 GetIntval(void) { return intval; };
};
class CNotifyIcon
: public CWindowImpl<CNotifyIcon>,
public ServiceStatusObserver,
@@ -60,6 +72,7 @@ class CNotifyIcon
void OnClose();
void PopupBalloon(UINT title_id, UINT text_id, DWORD flags = NIIF_INFO);
void PopupBalloon(CString &title, CString &text, DWORD flags = NIIF_INFO);
void InflictIconState();
void Update();