Home All Groups Group Topic Archive Search About

Multi line tool tips...

Author
17 Nov 2007 10:47 AM
Nigel V Thomas
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

Author
17 Nov 2007 11:04 AM
RB Smissaert
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
Author
17 Nov 2007 11:36 AM
Neil..
"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.
Author
17 Nov 2007 9:27 PM
Nigel V Thomas
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.
>
Author
17 Nov 2007 10:22 PM
Pop`
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.
Author
17 Nov 2007 10:50 PM
Mike Williams
"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
Author
18 Nov 2007 12:30 AM
Pop`
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!  ;-)
>
> Mike

It can be, for sure,  but ... I didn't mean 100% literally of course.  It
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
Author
18 Nov 2007 3:33 AM
Larry Serflaten
"Pop`" <nodoby@devnull.spamcop.net> wrote
>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>.

Almost...
Author
18 Nov 2007 5:00 AM
Steve Gerrard
"Pop`" <nodoby@devnull.spamcop.net> wrote in message
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. :)
Author
18 Nov 2007 4:37 PM
Pop`
Steve Gerrard wrote:
Show quote
> "Pop`" <nodoby@devnull.spamcop.net> wrote in message
> 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. :)

Egg-Zactly!
Author
17 Nov 2007 10:58 PM
Mike Williams
"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
Author
18 Nov 2007 12:35 AM
Pop`
Mike Williams wrote:
Show quote
> "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

Ah, yeah, that's a much better way to put it than I just did in my previous
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`
Author
17 Nov 2007 10:33 PM
Mike Williams
"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
Author
17 Nov 2007 11:00 PM
Nigel V Thomas
Show quote
"Mike Williams" <mi***@whiskyandCoke.com> wrote in message
news: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
>
>

Thanks 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
Author
18 Nov 2007 5:19 AM
Kevin Provance
| Only lazy people ask before Googling.

Yeah...ain't that the damned truth.  <eg>
Author
17 Nov 2007 6:43 PM
Lorin
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

AddThis Social Bookmark Button