|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Multi line tool tips...I've been avoiding this for a while now but it's finally become a serious
requirement in my app. Can anyone recommend a source, source code, component even, to allow me to do this. Target systems sare Xp/2000/Vista Cheers Nigel
http://vbnet.mvps.org/index.html?code/comctl/tooltip_basics.htm
Shame it can't work with VBA userform controls like labels and textboxes. RBS Show quote "Nigel V Thomas" <ni***@couriersystems.co.uk> wrote in message news:D73A98C2-6B3D-4CC7-A060-F5FFD372459D@microsoft.com... > I've been avoiding this for a while now but it's finally become a serious > requirement in my app. > > Can anyone recommend a source, source code, component even, to allow me to > do this. > > Target systems sare Xp/2000/Vista > > Cheers > > Nigel "Nigel V Thomas" <ni***@couriersystems.co.uk> wrote in message Have you tried using Google as this is a FAQ?news:D73A98C2-6B3D-4CC7-A060-F5FFD372459D@microsoft.com... > I've been avoiding this for a while now but it's finally become a serious > requirement in my app. > > Can anyone recommend a source, source code, component even, to allow me to > do this. > > Target systems sare Xp/2000/Vista > > Cheers > > Nigel Just tried Google myself and it indicates that there are several ways of doing multiline tool tips, some simple, but limited and others using extra components. John. John/Neil/Whatever/Whoever
Thank you so much for suggesting Google first, I never would have thought of it until you mentioned it, thanks for your enlightened advice. Naturally I tried Google first, it would be rude to expect this group to provide me with the simplest and quickest solution to my issue. Only lazy people ask before Googling. The emphasis is on the word 'recommended' and this is why I have come here, in order to gander an opinion from the wise/experienced members - their experience is not reflected in Google's results Nigel Show quote "Neil.." <gu***@guess.co.uk> wrote in message news:eIlod4QKIHA.3356@TK2MSFTNGP02.phx.gbl... > > "Nigel V Thomas" <ni***@couriersystems.co.uk> wrote in message > news:D73A98C2-6B3D-4CC7-A060-F5FFD372459D@microsoft.com... >> I've been avoiding this for a while now but it's finally become a serious >> requirement in my app. >> >> Can anyone recommend a source, source code, component even, to allow me >> to do this. >> >> Target systems sare Xp/2000/Vista >> >> Cheers >> >> Nigel > > Have you tried using Google as this is a FAQ? > Just tried Google myself and it indicates that there are several ways of > doing multiline tool tips, some simple, but limited and others using extra > components. > > John. > Nigel,
Not sure just what you're looking for, but here's a link that might help you out: http://vbnet.mvps.org/index.html?code/comctl/tooltip_basics.htm I've played with some of it and gotten the multi-line stuff working once but haven't implemented it because at the time I didn't understand it well enough; I don't implement what I don't understand<g>. Dunno if it'd work or not; did you try using vbCrLf in a tooltip? One of those things I always meant to check & just didn't get to. Regards, Pop` Nigel V Thomas wrote: Show quote > John/Neil/Whatever/Whoever > > Thank you so much for suggesting Google first, I never would have > thought of it until you mentioned it, thanks for your enlightened > advice. > Naturally I tried Google first, it would be rude to expect this group > to provide me with the simplest and quickest solution to my issue. > > Only lazy people ask before Googling. > > The emphasis is on the word 'recommended' and this is why I have come > here, in order to gander an opinion from the wise/experienced members > - their experience is not reflected in Google's results > > Nigel > > "Neil.." <gu***@guess.co.uk> wrote in message > news:eIlod4QKIHA.3356@TK2MSFTNGP02.phx.gbl... >> >> "Nigel V Thomas" <ni***@couriersystems.co.uk> wrote in message >> news:D73A98C2-6B3D-4CC7-A060-F5FFD372459D@microsoft.com... >>> I've been avoiding this for a while now but it's finally become a >>> serious requirement in my app. >>> >>> Can anyone recommend a source, source code, component even, to >>> allow me to do this. >>> >>> Target systems sare Xp/2000/Vista >>> >>> Cheers >>> >>> Nigel >> >> Have you tried using Google as this is a FAQ? >> Just tried Google myself and it indicates that there are several >> ways of doing multiline tool tips, some simple, but limited and >> others using extra components. >> >> John. "Pop`" <nodoby@devnull.spamcop.net> wrote in message news:tQJ%i.5682$xt5.4368@trnddc07...> I don't implement what I don't understand<g>. Yikes! That's a bit of a handicap isn't it! ;-)Mike Mike Williams wrote:
> "Pop`" <nodoby@devnull.spamcop.net> wrote in message It can be, for sure, but ... I didn't mean 100% literally of course. It > news:tQJ%i.5682$xt5.4368@trnddc07... > >> I don't implement what I don't understand<g>. > > Yikes! That's a bit of a handicap isn't it! ;-) > > Mike does force me to do enough research to at least =think= I understand what the code's doing though, and enough confidence to be able to modify it without a shotgun approach. As a result, I sometimes spend a lot of time in the sandbox figuring out how to get started. API's are a good example too; I avoided those until I was able to figure out WHERE they came from, where & why alias this, that as integer, byval, that byref, etc etc etc. was coming from and which were actually required. For the uninitiated they're quite "magical". Obviously I couldn't write that myself, but at least now when I do look one up to use it, I understand the parts that are being called and used. Mostly. Pretty much. Kinda. Well, Sorta. <g>. Cheers, Poprivet "Pop`" <nodoby@devnull.spamcop.net> wrote Almost...>Obviously I couldn't write > that myself, but at least now when I do look one up to use it, I understand > the parts that are being called and used. Mostly. Pretty much. Kinda. > Well, Sorta. <g>. "Pop`" <nodoby@devnull.spamcop.net> wrote in message news:WIL%i.6284$Nz1.185@trnddc06...> Mike Williams wrote: Perhaps the quote from the physics folks is applicable here:>> "Pop`" <nodoby@devnull.spamcop.net> wrote in message >> news:tQJ%i.5682$xt5.4368@trnddc07... >> >>> I don't implement what I don't understand<g>. >> >> Yikes! That's a bit of a handicap isn't it! ;-) >> >> Obviously I couldn't write > that myself, but at least now when I do look one up to use it, I understand > the parts that are being called and used. Mostly. Pretty much. Kinda. Well, > Sorta. <g>. > "If you think you understand quantum mechanics, then you don't understand quantum mechanics." Kinda-Sorta will do. :) Steve Gerrard wrote:
Show quote > "Pop`" <nodoby@devnull.spamcop.net> wrote in message Egg-Zactly!> news:WIL%i.6284$Nz1.185@trnddc06... >> Mike Williams wrote: >>> "Pop`" <nodoby@devnull.spamcop.net> wrote in message >>> news:tQJ%i.5682$xt5.4368@trnddc07... >>> >>>> I don't implement what I don't understand<g>. >>> >>> Yikes! That's a bit of a handicap isn't it! ;-) >>> >>> Obviously I couldn't write >> that myself, but at least now when I do look one up to use it, I >> understand the parts that are being called and used. Mostly. Pretty >> much. Kinda. Well, Sorta. <g>. >> > > Perhaps the quote from the physics folks is applicable here: > > "If you think you understand quantum mechanics, then you don't > understand quantum mechanics." > > Kinda-Sorta will do. :) "Pop`" <nodoby@devnull.spamcop.net> wrote in message news:tQJ%i.5682$xt5.4368@trnddc07...> I don't implement what I don't understand<g>. Actually my previous response was very "tongue in cheek" Pop, as I'm sure was your own original statement, but it was sort of "half truth". I personally use lots of code and functions and libraries that I don't fully understand. As far as I'm concerned, as long as they came from a reputable source and as long as I understand the required input for any desired output then I'm quite happy to usethem as a simple "black box" to perform a specific job. A bit like getting onto an aeroplane, I suppose. Most people haven't the faintest idea how the 'plane actually works, but they're very happy (usually!) to get on at one end and get off at the other, and rely on someone else to "fill the gap in the middle"! It would be very nice if I could fully understand everything I used, but I don't think I'm ever going to get to that position :-) Mike Mike Williams wrote:
Show quote > "Pop`" <nodoby@devnull.spamcop.net> wrote in message Ah, yeah, that's a much better way to put it than I just did in my previous > news:tQJ%i.5682$xt5.4368@trnddc07... > >> I don't implement what I don't understand<g>. > > Actually my previous response was very "tongue in cheek" Pop, as I'm > sure was your own original statement, but it was sort of "half > truth". I personally use lots of code and functions and libraries > that I don't fully understand. As far as I'm concerned, as long as > they came from a reputable source and as long as I understand the > required input for any desired output then I'm quite happy to usethem > as a simple "black box" to perform a specific job. A bit like getting > onto an aeroplane, I suppose. Most people haven't the faintest idea > how the 'plane actually works, but they're very happy (usually!) to > get on at one end and get off at the other, and rely on someone else > to "fill the gap in the middle"! It would be very nice if I could > fully understand everything I used, but I don't think I'm ever going > to get to that position :-) > Mike post. Didn't see this post or I'd have read this first and just agreed with you. I see nothing wrong with a "black box" approach as long as I understand the care and feeding requirements and they're only one of the overall complement of components. But they're fun to get inside of too, sometimes; I pick up a lot of tips that way. Cheers, Pop` "Nigel V Thomas" <ni***@couriersystems.co.uk> wrote in message Now that you've found the time to vent your anger on Neil [or John] perhaps news:A6F87EEC-F6B8-4BF7-830C-2B30179DDE36@microsoft.com... > John/Neil/Whatever/Whoever. Thank you so much for > suggesting Google first, I never would have thought of it until you > mentioned it . . . you might find time to thank RB Smissaert, the very first respondent, who posted a link to some code that does exactly what you've asked for? I had a few problems with the code on my Vista system by the way. It works okay, but the tooltip window was extremely small and I could not see the text. I'm sure the problem can be overcome, and it might in fact be something I did wrong at this end, but if you have problems with it yourself then you might also like to have a look at the following link, which provided a custom tooltip class and some sample code: http://www.freevbcode.com/ShowCode.asp?ID=1232 Mike
Show quote
"Mike Williams" <mi***@whiskyandCoke.com> wrote in message Thanks Mikenews:uWR%23fnWKIHA.4712@TK2MSFTNGP04.phx.gbl... > "Nigel V Thomas" <ni***@couriersystems.co.uk> wrote in message > news:A6F87EEC-F6B8-4BF7-830C-2B30179DDE36@microsoft.com... > >> John/Neil/Whatever/Whoever. Thank you so much for >> suggesting Google first, I never would have thought of it until you >> mentioned it . . . > > Now that you've found the time to vent your anger on Neil [or John] > perhaps you might find time to thank RB Smissaert, the very first > respondent, who posted a link to some code that does exactly what you've > asked for? > > I had a few problems with the code on my Vista system by the way. It works > okay, but the tooltip window was extremely small and I could not see the > text. I'm sure the problem can be overcome, and it might in fact be > something I did wrong at this end, but if you have problems with it > yourself then you might also like to have a look at the following link, > which provided a custom tooltip class and some sample code: > > http://www.freevbcode.com/ShowCode.asp?ID=1232 > > Mike > > I have thanked RB Smissaert off line (I think - just coming back from Thunderbird to MSMail so who knows what's going where) Thanks for your link as well, I'll investigate in the morning Nigel | Only lazy people ask before Googling. Yeah...ain't that the damned truth. <eg>Controls With or with hWnd?
Both types of examples are out there. Try Planet Source Code Some need a little tweaking for control arrays. Show quote "Nigel V Thomas" <ni***@couriersystems.co.uk> wrote in message news:D73A98C2-6B3D-4CC7-A060-F5FFD372459D@microsoft.com... > I've been avoiding this for a while now but it's finally become a serious > requirement in my app. > > Can anyone recommend a source, source code, component even, to allow me to > do this. > > Target systems sare Xp/2000/Vista > > Cheers > > Nigel |
|||||||||||||||||||||||