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

Method WindowProc

cppcryptfs/ui/TrayIcon.h:148–159  ·  view source on GitHub ↗

Overrides

Source from the content-addressed store, hash-verified

146
147// Overrides
148 virtual LRESULT WindowProc(UINT Message, WPARAM wParam, LPARAM lParam) {
149 if(Message==NID.uCallbackMessage
150 && wParam==NID.uID
151 && (lParam==WM_LBUTTONDOWN
152 || lParam==WM_LBUTTONDBLCLK
153 || lParam==WM_RBUTTONDOWN
154 || lParam==WM_RBUTTONDBLCLK)) {
155 AfxGetMainWnd()->PostMessage(WM_SYSCOMMAND, SC_RESTORE, 0);
156 return TRUE;
157 }
158 return CWnd::WindowProc(Message, wParam, lParam);
159 }
160};
161
162//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CMenuTrayIcon <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected