MCPcopy Create free account
hub / github.com/ColorCop/ColorCop / OnLButtonDown

Method OnLButtonDown

ColorCop/Label.cpp:160–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160void CLabel::OnLButtonDown(UINT nFlags, CPoint point) {
161 CString strLink;
162
163 GetWindowText(strLink);
164 ShellExecute(NULL, _T("open"), strLink, NULL, NULL, SW_SHOWNORMAL);
165
166 CStatic::OnLButtonDown(nFlags, point);
167}
168
169BOOL CLabel::OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message) {
170 if (m_hCursor) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected