Simple Hyperlink Static Control

Environment: VC6 SP5

I referred to “CScrollHotStatic!XHyperlink and Scroll CStatic Class” by Zhibin Cao when I wrote this control. There are two public functions in CHyperlinkStatic:

void SetHyperlink(CString strHyperlink)
void SetCaption(CString strCaption)

SetHyperlink is used to set the hyperlink where you will surf if you click it. SetCaption is used to set the caption you will see.

When the cursor is over the caption, it will become a “Hand” cursor. The caption of the control is also underlined. Simple is the best. I don’t have other information to talk about. Enjoy! 🙂

Downloads


Download demo project – 21 Kb


Download source – 3 Kb

More by Author

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends & analysis

Must Read