|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
What is this?Hi everybody.
If you load windows calculator and right-click one of its button you'll get a context menu with just one link. If you click on this link, a yellow "panel" shows up telling you all you need to know about that button. My question is: 1-what is that yellow panel? a control? something else? 2-how could I do something simlar using visual studio .net 2003 or 2005 (with C#)? (I mean the yellow panel stuff, I know how to do a context menu on right click event) Thank you in advance, Romano Fabrizio sfab***@osix.net "Fabrizio Romano" <sfab***@libero.it> schrieb: Check out the HelpProvider component.> If you load windows calculator and right-click one of its button you'll > get a context menu with just one link. > If you click on this link, a yellow "panel" shows up telling you all you > need to know about that button. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> Thank you. I'll see it.
F.R. Show quoteHide quote "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> ha scritto nel messaggio news:%23y3JUW3GGHA.3728@tk2msftngp13.phx.gbl... > "Fabrizio Romano" <sfab***@libero.it> schrieb: >> If you load windows calculator and right-click one of its button you'll >> get a context menu with just one link. >> If you click on this link, a yellow "panel" shows up telling you all you >> need to know about that button. > > Check out the HelpProvider component. > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://classicvb.org/petition/> Yeah, ok, I saw it.
As I thougth, it is not the answer to my question, probably because I didn't put the question correctly. I would like to know how to implement something like that on my own. For example open a file explorer in windows and lean the mouse on a file. You'll see appearing another yellow panel with some properties of the file written inside. That is a tooltip popup right? My question is: what is a tooltip? I mean that yellow panel what is it? Is it a form without borders? How can I implement one on my own? What class do I have to inherit from? Hope the question is clearer now. Thank you in advance, Fabrizio Romano sfab***@osix.net ----------------------------- Show quoteHide quote "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> ha scritto nel messaggio news:%23y3JUW3GGHA.3728@tk2msftngp13.phx.gbl... > "Fabrizio Romano" <sfab***@libero.it> schrieb: >> If you load windows calculator and right-click one of its button you'll >> get a context menu with just one link. >> If you click on this link, a yellow "panel" shows up telling you all you >> need to know about that button. > > Check out the HelpProvider component. > > -- > M S Herfried K. Wagner > M V P <URL:http://dotnet.mvps.org/> > V B <URL:http://classicvb.org/petition/> I'd just inherit from Control, paint it as you need it, even add some
further controls to it if needed. Then add it to your base form's (or one of it's container's) Controls collection and set the position as you need it. Show quoteHide quote "Fabrizio Romano" <sfab***@libero.it> wrote in message news:43cd14d3$0$1071$4fafbaef@reader3.news.tin.it... > Yeah, ok, I saw it. > As I thougth, it is not the answer to my question, probably because I > didn't put the question correctly. > I would like to know how to implement something like that on my own. > For example open a file explorer in windows and lean the mouse on a file. > You'll see appearing another yellow panel with some properties of the file > written inside. > That is a tooltip popup right? > My question is: what is a tooltip? I mean that yellow panel what is it? Is > it a form without borders? > How can I implement one on my own? What class do I have to inherit from? > > Hope the question is clearer now. > Thank you in advance, > Fabrizio Romano > sfab***@osix.net > > ----------------------------- > > "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> ha scritto nel > messaggio news:%23y3JUW3GGHA.3728@tk2msftngp13.phx.gbl... >> "Fabrizio Romano" <sfab***@libero.it> schrieb: >>> If you load windows calculator and right-click one of its button you'll >>> get a context menu with just one link. >>> If you click on this link, a yellow "panel" shows up telling you all you >>> need to know about that button. >> >> Check out the HelpProvider component. >> >> -- >> M S Herfried K. Wagner >> M V P <URL:http://dotnet.mvps.org/> >> V B <URL:http://classicvb.org/petition/> > > Ok, thank you, I'll try.
Fabrizio sfab***@osix.net Show quoteHide quote "JezB" <jezbroadsw***@blueyonder.co.uk> ha scritto nel messaggio news:OmKycd4GGHA.3200@tk2msftngp13.phx.gbl... > I'd just inherit from Control, paint it as you need it, even add some > further controls to it if needed. Then add it to your base form's (or one > of it's container's) Controls collection and set the position as you need > it. > > "Fabrizio Romano" <sfab***@libero.it> wrote in message > news:43cd14d3$0$1071$4fafbaef@reader3.news.tin.it... >> Yeah, ok, I saw it. >> As I thougth, it is not the answer to my question, probably because I >> didn't put the question correctly. >> I would like to know how to implement something like that on my own. >> For example open a file explorer in windows and lean the mouse on a file. >> You'll see appearing another yellow panel with some properties of the >> file written inside. >> That is a tooltip popup right? >> My question is: what is a tooltip? I mean that yellow panel what is it? >> Is it a form without borders? >> How can I implement one on my own? What class do I have to inherit from? >> >> Hope the question is clearer now. >> Thank you in advance, >> Fabrizio Romano >> sfab***@osix.net >> >> ----------------------------- >> >> "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> ha scritto nel >> messaggio news:%23y3JUW3GGHA.3728@tk2msftngp13.phx.gbl... >>> "Fabrizio Romano" <sfab***@libero.it> schrieb: >>>> If you load windows calculator and right-click one of its button you'll >>>> get a context menu with just one link. >>>> If you click on this link, a yellow "panel" shows up telling you all >>>> you need to know about that button. >>> >>> Check out the HelpProvider component. >>> >>> -- >>> M S Herfried K. Wagner >>> M V P <URL:http://dotnet.mvps.org/> >>> V B <URL:http://classicvb.org/petition/> >> >> > > "Fabrizio Romano" <sfab***@libero.it> wrote in message There is no need to develop this yourself. If you are using WinForms just news:43cd2407$0$1078$4fafbaef@reader3.news.tin.it... > Ok, thank you, I'll try. set the ToolTip property on your controls of interest. You need to add a ToolTip control to your form from the ToolBox first to see the ToolTip property. -- Alan I think he wanted something that does a bit more than the standard tooltip.
Show quoteHide quote "Alan Pretre" <no@spam> wrote in message news:ucnY5y4GGHA.3448@TK2MSFTNGP10.phx.gbl... > "Fabrizio Romano" <sfab***@libero.it> wrote in message > news:43cd2407$0$1078$4fafbaef@reader3.news.tin.it... >> Ok, thank you, I'll try. > > There is no need to develop this yourself. If you are using WinForms just > set the ToolTip property on your controls of interest. You need to add a > ToolTip control to your form from the ToolBox first to see the ToolTip > property. > > -- Alan > >
Other interesting topics
|
|||||||||||||||||||||||