| 258 | virtual BOOL KillTimer(INT_PTR nIDEvent) =0; |
| 259 | |
| 260 | void SetIcons(const UINT IconIDs[]) { // NULL Terminated Array of Icon Recource IDs to animate |
| 261 | const UINT* ptr=IconIDs; |
| 262 | int i; |
| 263 | for(i=1; *ptr++; ++i); //Count them |
| 264 | if(Icons) delete Icons; |
| 265 | it=Icons=new HICON[i]; //Prepare storage for their HICONs |
| 266 | const CWinApp* App=AfxGetApp(); |
| 267 | ASSERT(App); |
| 268 | for(ptr=IconIDs; i=*ptr++; *it++=App->LoadIcon(i)); //Store the HICONs |
| 269 | *it=0; //NULL Terminate the list |
| 270 | } |
| 271 | |
| 272 | #define TrayIconTimer 1032 |
| 273 |
nothing calls this directly
no outgoing calls
no test coverage detected