void CSuperLabel::OnLButtonDown(UINT nFlags, CPoint point) 
{

	ShellExecute(m_hWnd,NULL,m_ConnectStr,NULL,NULL,SW_SHOWNORMAL);		
	CStatic::OnLButtonDown(nFlags, point);
}

void CSuperLabel::OnMouseMove(UINT nFlags, CPoint point) 
{
	CStatic::OnMouseMove(nFlags, point);
	
	::SetCursor(AfxGetApp()->LoadCursor(IDC_CURSOR1));
}

void CSuperLabel::OnPaint() 
{
	CPaintDC dc(this); // device context for painting
	CDC* pDC = GetDC();

	CString text;
	GetWindowText(text);
	
	if (m_ConnectStr.IsEmpty())
		m_ConnectStr = text;

	pDC->SetBkMode(TRANSPARENT);
	pDC->SetTextColor(RGB(0,0,255));


	pDC->SelectObject(&m_Font);
	pDC->TextOut(0,0,text);

	// Do not call CStatic::OnPaint() for painting messages
}

void CSuperLabel::PreSubclassWindow() 
{
	// TODO: Add your specialized code here and/or call the base class
	GetWindowText(m_ConnectStr);
	CFont* pFont = GetFont();

	pFont->GetLogFont(&lfont);
	lfont.lfUnderline =TRUE;
	m_Font.CreateFontIndirect(&lfont);
	CStatic::PreSubclassWindow();
}

void CSuperLabel::SubWindow(HWND hwnd)
{
	this->SubclassWindow(hwnd);
}

/
public:
	CFont     m_Font;
	CString   m_ConnectStr;
	LOGFONT   lfont;