#include <GridURLCell.h>


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 [] |
Definition at line 21 of file GridURLCell.h.
| CGridURLCell::CGridURLCell | ( | ) |
Definition at line 34 of file GridURLCell.cpp.
| CGridURLCell::~CGridURLCell | ( | ) | [virtual] |
Definition at line 43 of file GridURLCell.cpp.
| 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.
HCURSOR CGridURLCell::g_hLinkCursor = NULL [static, protected] |
Definition at line 44 of file GridURLCell.h.
URLStruct CGridURLCell::g_szURIprefixes [static, protected] |
{
{ _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.
1.6.3