Re: Hyperlinks on MenuItems

Tech-Archive recommends: Speed Up your PC by fixing your registry



Hi,

I have not tried this but i think you can achieve this by subclassing a
static control and inserting hyperlinks on that and creating these
subclassed static controls in a owner drawn menuitem.You should also
handle the mouse messages of the static control.

Heres a simple example for creating hyperlinks on static controls
http://www.codeproject.com/staticctrl/cmyhyperlink.asp

/kiran

Prafulla T wrote:
Hello Experts,
I am involved into developement of Toolbar for IE.
In that I have one drop down menu- button.
I want the menu items of this menu to be hyperlinks.
A single menu item can have more than on words each poiting to
different websites.
These menutems are owner-drawn.
Please tell me how I put hyperlinks on MenuItems.
I am using WTL.
Still,if anyone knows how to do it in MFC,let me know.
I will port it to WTL myself!!!!!!!!
Thanks in advance

.


Quantcast