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

Method SetIcon

cppcryptfs/ui/TrayIcon.h:107–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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
114protected:
115 BOOL OK; // true if the operating system supports tray icons and the Icon was successfully created

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected