CGridURLCell Class Reference

#include <GridURLCell.h>

Inheritance diagram for CGridURLCell:
Inheritance graph
[legend]
Collaboration diagram for CGridURLCell:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CGridURLCell ()
virtual ~CGridURLCell ()
virtual BOOL Draw (CDC *pDC, int nRow, int nCol, CRect rect, BOOL bEraseBkgnd=TRUE)
virtual BOOL Edit (int nRow, int nCol, CRect rect, CPoint point, UINT nID, UINT nChar)
virtual LPCTSTR GetTipText ()
void SetAutoLaunchUrl (BOOL bLaunch=TRUE)
BOOL GetAutoLaunchUrl ()

Protected Member Functions

virtual BOOL OnSetCursor ()
virtual void OnClick (CPoint PointCellRelative)
BOOL HasUrl (CString str)
BOOL OverURL (CPoint &pt, CString &strURL)
HCURSOR GetHandCursor ()

Protected Attributes

COLORREF m_clrUrl
BOOL m_bLaunchUrl
CRect m_Rect

Static Protected Attributes

static HCURSOR g_hLinkCursor = NULL
static URLStruct g_szURIprefixes []

Detailed Description

Definition at line 21 of file GridURLCell.h.


Constructor & Destructor Documentation

CGridURLCell::CGridURLCell (  ) 

Definition at line 34 of file GridURLCell.cpp.

CGridURLCell::~CGridURLCell (  )  [virtual]

Definition at line 43 of file GridURLCell.cpp.


Member Function Documentation

BOOL CGridURLCell::Draw ( CDC *  pDC,
int  nRow,
int  nCol,
CRect  rect,
BOOL  bEraseBkgnd = TRUE 
) [virtual]

Reimplemented from CGridCellBase.

Definition at line 47 of file GridURLCell.cpp.

BOOL CGridURLCell::Edit ( int  nRow,
int  nCol,
CRect  rect,
CPoint  point,
UINT  nID,
UINT  nChar 
) [virtual]

Reimplemented from CGridCell.

Definition at line 60 of file GridURLCell.cpp.

BOOL CGridURLCell::GetAutoLaunchUrl (  )  [inline]

Definition at line 33 of file GridURLCell.h.

HCURSOR CGridURLCell::GetHandCursor (  )  [protected]

Definition at line 95 of file GridURLCell.cpp.

virtual LPCTSTR CGridURLCell::GetTipText (  )  [inline, virtual]

Definition at line 31 of file GridURLCell.h.

BOOL CGridURLCell::HasUrl ( CString  str  )  [protected]

Definition at line 125 of file GridURLCell.cpp.

void CGridURLCell::OnClick ( CPoint  PointCellRelative  )  [protected, virtual]

Reimplemented from CGridCellBase.

Definition at line 66 of file GridURLCell.cpp.

BOOL CGridURLCell::OnSetCursor (  )  [protected, virtual]

Reimplemented from CGridCellBase.

Definition at line 76 of file GridURLCell.cpp.

BOOL CGridURLCell::OverURL ( CPoint &  pt,
CString &  strURL 
) [protected]

Definition at line 137 of file GridURLCell.cpp.

void CGridURLCell::SetAutoLaunchUrl ( BOOL  bLaunch = TRUE  )  [inline]

Definition at line 32 of file GridURLCell.h.


Member Data Documentation

HCURSOR CGridURLCell::g_hLinkCursor = NULL [static, protected]

Definition at line 44 of file GridURLCell.h.

Initial value:
 { 
    { _T("www."),    _tcslen(_T("www."))    },
    { _T("http:"),   _tcslen(_T("http:"))   },
    { _T("mailto:"), _tcslen(_T("mailto:")) },
    { _T("ftp:"),    _tcslen(_T("ftp:"))    },
    { _T("https:"),  _tcslen(_T("https:"))  },
    { _T("news:"),   _tcslen(_T("news:"))   },
    { _T("gopher:"), _tcslen(_T("gopher:")) },
    { _T("telnet:"), _tcslen(_T("telnet:")) },
    { _T("url:"),    _tcslen(_T("url:"))    },
    { _T("file:"),   _tcslen(_T("file:"))   },
    { _T("ftp."),    _tcslen(_T("ftp."))    }
}

Definition at line 47 of file GridURLCell.h.

BOOL CGridURLCell::m_bLaunchUrl [protected]

Definition at line 51 of file GridURLCell.h.

COLORREF CGridURLCell::m_clrUrl [protected]

Definition at line 50 of file GridURLCell.h.

CRect CGridURLCell::m_Rect [protected]

Definition at line 52 of file GridURLCell.h.


The documentation for this class was generated from the following files:
Generated on Thu May 30 15:49:08 2013 for GME by  doxygen 1.6.3