Skip to main content
GameDev.net gamedev.net
🔒 Locked

Implement URL BUTTON class

Started by cpp forever Sep 23, 2005 at 1:14 PM 1 replies 350+ views
Original Post
cpp forever
cpp forever
I need to implement an url button class for Win9x-XP? Somebody has any tips how to do that best?
ai-blog.org: AI is discussed here.
SiCrane
SiCrane
You might want to give more context on this question. What programming language do you want to use? Where are you going to stick the button? In a webpage, your own Win32 application, on the taskbar, on a pancake? What exactly do you want the button to do? Display a URL, download a URL, open the default application for handling the URL?
cpp forever
cpp forever
Sorry for that short info.

I want to subclass WC_BUTTON to make a Url button.
I just want it to have underlined text with different color. When I hover on it - the colour must change. When I click on it - default browser executes link (this part I have already implemented w/ ShellExecute() ).
This must be done with Win32 API, C/C++.
ai-blog.org: AI is discussed here.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.