Vladi243 Posted June 12, 2008 Posted June 12, 2008 Hey, I want to join a link to my GUI. I thought to create a button that opens IE in the link, but a prefer to create a text link on the GUI. Is there any way to create a text link on the GUI (something like BBCode in forums)?
James Posted June 12, 2008 Posted June 12, 2008 #include <GUIConstants.au3> GUICreate("Click my link!") $Link = GUICtrlCreateLabel("Visit my website", 100, 100, 200) GUICtrlSetColor(-1, 0x0000FF) GUICtrlSetFont(-1, 11, Default, 4) GUICtrlSetCursor(-1, 0) GUISetState() While 1 $iMsg = GUIGetMsg() Switch $iMsg Case $GUI_EVENT_CLOSE Exit Case $Link ShellExecute("http://www.google.com") EndSwitch WEnd Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now