#include <hyperlinkctrl.h>
Public Member Functions | |
| wxHyperlinkCtrl (wxWindow *parent, wxWindowID id, const wxString &label, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, int style=0, const wxString &name=wxT("staticText"), const wxString &szURL=wxEmptyString) | |
| wxHyperlinkCtrl constructor | |
| void | SetColours (const wxColour &link=wxColour(wxT("BLUE")), const wxColour &visited=wxColour(wxT("VIOLET")), const wxColour &rollover=wxColour(wxT("BLUE"))) |
| void | GetColous (wxColour &link, wxColour &visited, wxColour &rollover) |
| void | SetUnderlines (const bool link=true, const bool visited=true, const bool rollover=true) |
| void | GetUnderlines (bool link, bool visited, bool rollover) |
| void | SetLinkCursor (const wxCursor &cur=wxCURSOR_HAND) |
| void | GetLinkCursor (wxCursor &cur) |
| void | SetVisited (const bool bVisited=false) |
| bool | GetVisited (void) |
| void | SetBold (const bool bBold=false) |
| bool | GetBold (void) |
| void | SetURL (const wxString &szURL) |
| wxString | GetURL (void) |
| void | OpenInSameWindow (const bool bIfPossible=false) |
| void | SetBrowserPath (const wxString &browser) |
| wxString | GetBrowserPath (void) |
| void | EnableRollover (const bool bEnable=false) |
| void | ReportErrors (const bool bReport=true) |
| void | AutoBrowse (const bool bBrowse=true) |
| void | DoPopup (const bool bPopup=true) |
| void | UpdateLink (const bool bRefresh=true) |
| Updates the links colors and underline properties. | |
Static Public Member Functions | |
| static bool | GotoURL (const wxString &szUrl, const wxString &szBrowser=wxEmptyString, const bool bReportErrors=false, const bool bSameWinIfPossible=false) |
| Goto the specified URL. This function may be called statically. bSameWindowIfPossible only works with Internet Explorer. | |
Private Member Functions | |
| void | OnPopUpCopy (wxCommandEvent &event) |
| Menu pop up copy to clipboard event. | |
| void | OnMouseEvent (wxMouseEvent &event) |
| Captures mouse events for Cursor, Link colors and Underlines. | |
Static Private Member Functions | |
| static void | DisplayError (const wxString &szError, const bool bReportErrors) |
Private Attributes | |
| wxString | m_szURL |
| wxString | m_szBrowserPath |
| wxColour | m_crLinkColour |
| wxColour | m_crVisitedColour |
| wxColour | m_crLinkRolloverColor |
| bool | m_bLinkUnderline |
| bool | m_bRolloverUnderline |
| bool | m_bVisitedUnderline |
| bool | m_bEnableRollover |
| bool | m_bVisited |
| bool | m_bBold |
| wxCursor | m_crHand |
| bool | m_bReportErrors |
| bool | m_bAutoBrowse |
| bool | m_bDoPopup |
| bool | m_bSameWinIfPossible |
| wxMenu * | m_menuPopUp |
Definition at line 103 of file hyperlinkctrl.h.
|
||||||||||||||||||||||||||||||||||||
|
wxHyperlinkCtrl constructor
Definition at line 60 of file hyperlinkctrl.cpp. |
|
|
Definition at line 174 of file hyperlinkctrl.h. References m_bAutoBrowse. Referenced by InfoDialog::CreateControls(). |
|
||||||||||||
|
Definition at line 338 of file hyperlinkctrl.cpp. Referenced by GotoURL(). |
|
|
Definition at line 177 of file hyperlinkctrl.h. References m_bDoPopup. |
|
|
Definition at line 167 of file hyperlinkctrl.h. References m_bEnableRollover. |
|
|
Definition at line 153 of file hyperlinkctrl.h. References m_bBold. |
|
|
Definition at line 164 of file hyperlinkctrl.h. References m_szBrowserPath. |
|
||||||||||||||||
|
Definition at line 122 of file hyperlinkctrl.h. References m_crLinkColour, m_crLinkRolloverColor, and m_crVisitedColour. |
|
|
Definition at line 145 of file hyperlinkctrl.h. References m_crHand. |
|
||||||||||||||||
|
Definition at line 136 of file hyperlinkctrl.h. References m_bLinkUnderline, m_bRolloverUnderline, and m_bVisitedUnderline. |
|
|
Definition at line 157 of file hyperlinkctrl.h. References m_szURL. |
|
|
Definition at line 149 of file hyperlinkctrl.h. References m_bVisited. |
|
||||||||||||||||||||
|
Goto the specified URL. This function may be called statically. bSameWindowIfPossible only works with Internet Explorer.
Definition at line 92 of file hyperlinkctrl.cpp. References DisplayError(). |
|
|
Captures mouse events for Cursor, Link colors and Underlines.
Definition at line 193 of file hyperlinkctrl.cpp. References m_bBold, m_bEnableRollover, m_bRolloverUnderline, m_crHand, and m_crLinkRolloverColor. |
|
|
Menu pop up copy to clipboard event.
Definition at line 292 of file hyperlinkctrl.cpp. References m_szURL. |
|
|
Definition at line 160 of file hyperlinkctrl.h. References m_bSameWinIfPossible. |
|
|
Definition at line 170 of file hyperlinkctrl.h. References m_bReportErrors. |
|
|
Definition at line 152 of file hyperlinkctrl.h. References m_bBold. |
|
|
Definition at line 163 of file hyperlinkctrl.h. References m_szBrowserPath. |
|
||||||||||||||||
|
Definition at line 116 of file hyperlinkctrl.h. References m_crLinkColour, m_crLinkRolloverColor, and m_crVisitedColour. |
|
|
Definition at line 144 of file hyperlinkctrl.h. References m_crHand. Referenced by InfoDialog::CreateControls(). |
|
||||||||||||||||
|
Definition at line 130 of file hyperlinkctrl.h. References m_bLinkUnderline, m_bRolloverUnderline, and m_bVisitedUnderline. |
|
|
Definition at line 156 of file hyperlinkctrl.h. References m_szURL. Referenced by InfoDialog::CreateControls(). |
|
|
Definition at line 148 of file hyperlinkctrl.h. References m_bVisited. |
|
|
Updates the links colors and underline properties.
Definition at line 306 of file hyperlinkctrl.cpp. References m_bBold, m_bLinkUnderline, m_bVisited, m_bVisitedUnderline, m_crLinkColour, and m_crVisitedColour. Referenced by InfoDialog::CreateControls(). |
|
|
Definition at line 231 of file hyperlinkctrl.h. Referenced by AutoBrowse(). |
|
|
Definition at line 220 of file hyperlinkctrl.h. Referenced by GetBold(), OnMouseEvent(), SetBold(), and UpdateLink(). |
|
|
Definition at line 234 of file hyperlinkctrl.h. Referenced by DoPopup(). |
|
|
Definition at line 214 of file hyperlinkctrl.h. Referenced by EnableRollover(), and OnMouseEvent(). |
|
|
Definition at line 209 of file hyperlinkctrl.h. Referenced by GetUnderlines(), SetUnderlines(), and UpdateLink(). |
|
|
Definition at line 226 of file hyperlinkctrl.h. Referenced by ReportErrors(). |
|
|
Definition at line 210 of file hyperlinkctrl.h. Referenced by GetUnderlines(), OnMouseEvent(), and SetUnderlines(). |
|
|
Definition at line 237 of file hyperlinkctrl.h. Referenced by OpenInSameWindow(). |
|
|
Definition at line 217 of file hyperlinkctrl.h. Referenced by GetVisited(), SetVisited(), and UpdateLink(). |
|
|
Definition at line 211 of file hyperlinkctrl.h. Referenced by GetUnderlines(), SetUnderlines(), and UpdateLink(). |
|
|
Definition at line 223 of file hyperlinkctrl.h. Referenced by GetLinkCursor(), OnMouseEvent(), and SetLinkCursor(). |
|
|
Definition at line 204 of file hyperlinkctrl.h. Referenced by GetColous(), SetColours(), and UpdateLink(). |
|
|
Definition at line 206 of file hyperlinkctrl.h. Referenced by GetColous(), OnMouseEvent(), and SetColours(). |
|
|
Definition at line 205 of file hyperlinkctrl.h. Referenced by GetColous(), SetColours(), and UpdateLink(). |
|
|
Definition at line 239 of file hyperlinkctrl.h. |
|
|
Definition at line 201 of file hyperlinkctrl.h. Referenced by GetBrowserPath(), and SetBrowserPath(). |
|
|
Definition at line 198 of file hyperlinkctrl.h. Referenced by GetURL(), OnPopUpCopy(), and SetURL(). |
1.4.6-NO