| OLD | NEW |
| 1 #ifndef NOTIFICATION_MESSAGE_H | 1 #ifndef NOTIFICATION_MESSAGE_H |
| 2 #define NOTIFICATION_MESSAGE_H | 2 #define NOTIFICATION_MESSAGE_H |
| 3 | 3 |
| 4 #include <string> | 4 #include <string> |
| 5 | 5 |
| 6 class NotificationMessage | 6 class NotificationMessage |
| 7 { | 7 { |
| 8 public: | 8 public: |
| 9 NotificationMessage(); | 9 NotificationMessage(); |
| 10 NotificationMessage(HWND parent); | 10 NotificationMessage(HWND parent); |
| 11 ~NotificationMessage(){}; | 11 ~NotificationMessage(){}; |
| 12 bool Show(std::wstring message, std::wstring title, int icon); | 12 bool Show(std::wstring message, std::wstring title, int icon); |
| 13 bool Hide(); | 13 bool Hide(); |
| 14 void Move(short x, short y); | 14 void Move(short x, short y); |
| 15 bool SetTextAndIcon(std::wstring text, std::wstring title, int icon); | 15 bool SetTextAndIcon(std::wstring text, std::wstring title, int icon); |
| 16 void SetParent(HWND parent); | 16 void SetParent(HWND parent); |
| 17 bool IsVisible(); | 17 bool IsVisible(); |
| 18 private: | 18 private: |
| 19 HWND parentWindow; | 19 HWND parentWindow; |
| 20 HWND toolTipWindow; | 20 HWND toolTipWindow; |
| 21 static bool commonControlsInitialized; | 21 static bool commonControlsInitialized; |
| 22 static void CommonControlsInitialize(); | 22 static void InitializeCommonControls(); |
| 23 }; | 23 }; |
| 24 | 24 |
| 25 #endif | 25 #endif |
| OLD | NEW |