ReleaseCapture(); POINT pt = { GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam) }; if(::PtInRect(&m_rcLink, pt)) { T* pT = static_cast<T*>(this); pT->Navigate(); }
if(bHover && m_fPressed == 1) ::SendMessage(GetParent(), WM_COMMAND, MAKEWPARAM(GetDlgCtrlID(), BN_CLICKED), (LPARAM)m_hWnd); ::ReleaseCapture();
	LRESULT OnLButtonUp(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM lParam, BOOL& /*bHandled*/)	{		if(GetCapture() == m_hWnd)		{			ReleaseCapture();			POINT pt = { GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam) };			if(::PtInRect(&m_rcLink, pt))			{				T* pT = static_cast<T*>(this);				pT->Navigate();			}		}		return 0;	}