systray.h 343 B

1234567891011121314151617181920212223
  1. #ifndef __SYSTRAY_H
  2. #define __SYSTRAY_H
  3. #include <bfc/string/StringW.h>
  4. class Systray
  5. {
  6. public:
  7. Systray(HWND wnd, int uid, int msg, HICON smallicon);
  8. ~Systray();
  9. void setTip(const wchar_t *tip);
  10. private:
  11. bool addIcon();
  12. bool deleteIcon();
  13. bool setTip();
  14. int id, message;
  15. HWND hwnd;
  16. HICON icon;
  17. StringW tip;
  18. };
  19. #endif