MCPcopy Create free account
hub / github.com/bailey27/cppcryptfs / CAniTrayIcon

Class CAniTrayIcon

cppcryptfs/ui/TrayIcon.h:313–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311//A Tray Icon Application class that handles Animated Icons.
312
313class CAniTrayIcon : public CTrayIcon, public CAniIcon {
314// Construction
315public:
316 CAniTrayIcon() {}
317 CAniTrayIcon(LPCTSTR szTip, HICON hIcon) {Create(szTip, hIcon);}
318 virtual ~CAniTrayIcon() {StopAnimating();}
319
320 HICON GetIcon() const {return CTrayIcon::GetIcon();}
321 BOOL SetIcon(HICON hIcon) {return CTrayIcon::SetIcon(hIcon);}
322
323 UINT_PTR SetTimer(UINT nIDEvent, UINT nElapse, void (CALLBACK* lpfnTimer)(HWND, UINT, UINT_PTR, DWORD)) {return CTrayIcon::SetTimer(nIDEvent, nElapse, lpfnTimer);}
324 BOOL KillTimer(INT_PTR nIDEvent) {return CTrayIcon::KillTimer(nIDEvent);}
325
326 virtual LRESULT WindowProc(UINT Message, WPARAM wParam, LPARAM lParam) {
327 if(CAniIcon::WindowProc(Message,wParam,lParam)) return true;
328 return CTrayIcon::WindowProc(Message,wParam,lParam);
329 }
330};
331
332//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CAniMenuTrayIcon <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
333//A Tray Icon Application class that handles Animated Icons and Context Menus.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected