Contents Up Previous Next

wxHyperLink

wxHyperLink.h : header file wxHyperLink window

Derived from

wxStaticText

Data structures

Members

wxHyperLink::wxHyperLink
wxHyperLink::~wxHyperLink
wxHyperLink::CallcColour
wxHyperLink::Create
wxHyperLink::GetURL
wxHyperLink::GetUnderline
wxHyperLink::LoadLink
wxHyperLink::SetColour
wxHyperLink::SetForegroundColour
wxHyperLink::SetURL
wxHyperLink::SetUnderline


wxHyperLink::wxHyperLink

wxHyperLink(wxWindow* parent, wxWindowID id, const wxString& url, const wxString& label = wxT(""), const wxColour &normal = ( *wxBLUE), const wxColour& active = wxNullColour, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, const wxString& name = wxT("HyperLink"))

wxHyperLink()

Construction


wxHyperLink::~wxHyperLink

~wxHyperLink()


wxHyperLink::CallcColour

unsigned char CallcColour(unsigned char colour)


wxHyperLink::Create

bool Create(wxWindow* parent, wxWindowID id, const wxString& url, const wxString& label = wxT(""), const wxColour &normal = ( *wxBLUE), const wxColour& active = wxNullColour, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0, const wxString& name = wxT("HyperLinkt"))


wxHyperLink::GetURL

void GetURL(wxString& url, wxString& label)

Get URL and label


wxHyperLink::GetUnderline

bool GetUnderline()

Get if there is currently a line?


wxHyperLink::LoadLink

bool LoadLink()

Load the default browser or email client...


wxHyperLink::SetColour

bool SetColour(const wxColour& colourNormal, const wxColour& colourActive)

Set Normal and Active colour of the Text.


wxHyperLink::SetForegroundColour

bool SetForegroundColour(const wxColour& colour)

Re-define this to allow to set 2 colours in with one base colour


wxHyperLink::SetURL

void SetURL(const wxString& url, const wxString& label = wxT(""))

Set a new URL and/or lable. If no lable is set, url will be used as label.


wxHyperLink::SetUnderline

void SetUnderline(bool bUnderline, bool bAlways = TRUE)

Set the text displayed with a line under it or not.