i used simple mousehover. and when this event happens then i change the
imagelist of the whole tool bar... should not b this... and if i keep
the button at the same place then bigger problem... as the mouse hover
keeps on changing the image from hot to regular and vice versa..
code:
private void toolbarMain_Mou seHover(object sender, System.EventArg s e)
{
if (toolbarMain.Im ageList != imglstTbMainHot )
{
toolbarMain.Ima geList = imglstTbMainHot ;
}
else
{
toolbarMain.Ima geList = imglstTBMain;
}
}
u can see in the code i am just switching the image list... not a good
way atall... there would b something done and i don't wana reinvent the
wheel. :)
Ignacio Machin ( .NET/ C# MVP ) wrote:
Hi,
How it does not work properly? Can you post some code?
Have search some third party tool? I bet than in codeproject you will find
code for this (or for something similar)
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
<mo*******@gmai l.comwrote in message
news:11******** **************@ p79g2000cwp.goo glegroups.com.. .
I need my button to change the image to a hot image when I take the
mouse over it (e.g. internet explorer.. ). I tried using mousehover but
doesn't work properly. I need ideas to implement it... Microsoft has
done that and there would be a way to do it in c#.. help help
thanks
Ignacio Machin ( .NET/ C# MVP ) wrote:
Hi,
What kind of problems?
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
<mo*******@gmai l.comwrote in message
news:11******** **************@ m73g2000cwd.goo glegroups.com.. .
hey guys
I got trouble implementing hot toolbar like intertnet explorer in my
win forms. Could someone please give me ideas...
thanks