| 105 | |
| 106 | HICON GetIcon() const {return NID.hIcon;} |
| 107 | BOOL SetIcon(HICON hIcon) { |
| 108 | if(!OK) return FALSE; |
| 109 | NID.uFlags=NIF_ICON; |
| 110 | NID.hIcon=hIcon; |
| 111 | return Shell_NotifyIcon(NIM_MODIFY, &NID); |
| 112 | } |
| 113 | |
| 114 | protected: |
| 115 | BOOL OK; // true if the operating system supports tray icons and the Icon was successfully created |
nothing calls this directly
no outgoing calls
no test coverage detected