Creating tooltips for custom class member lists...

  • Thread starter Thread starter Scott M.
  • Start date Start date
S

Scott M.

This is a re-post (as the replies I received the first time did not answer
my question):

I want to know how I can (not a tool) create tooltips that appear as someone
browses the member list of a custom class I've created.

I know this process involves XML commenting, but that's about it. I DON'T
want to look at a tool, I want to know how this works. I want to know how
to do it myself.

Documentation on this would be helpful. Namespaces/classes to look at would
be helpful. Tools that do this for me would NOT be helpful.

Thanks.
 
Hi Scott,

|| I DON'T want to look at a tool,
|| Tools that do this for me would NOT be helpful

LOL, In the absence of anyone being able to tell you, you could GET THE
TOOL ANYWAY and play with it. Then see what information it puts in what files
and work it out. Enjoy the challenge.

But maybe someone'll tell you how to do it. I'll be surprised, though, as
I expect they'd have said so by now.

Another option is to find out who the toolmakers are and contact them
directly. If the tool is free, they may be free with their knowledge too.

Regards,
Fergus
 
Hi Scott,
I did look at all the answers
Do you want a better answer than this?
\\\
Again: Have a look at the implementation of the tools mentioned before.
Some of them come with source code.
///
It seems that I 'm not the only one who does not understand what you want.
Cor
 
I am dumbfounded at posts like yours. If you can't understand what I'm
asking and/or don't have the answer, then it might be best for you not to
post a reply.

There are reasons why I want/need to stay away from a tool. I've said
repeatedly that a tool is not an option for me. What part of that is
confusing you?
 
Yes, I want a better answer than that. Looking at a tool is NOT an
acceptable option for me.

It's a very simple question: How do you get VS .NET to show a tooltip in
the class members drop-down window? The answers I've been getting is:
"Here's a tool that does it." That is not an answer to my question.

There are reasons why a tool won't be an acceptable solution for me.
Browsing through someone else's code is also NOT going to be an acceptable
solution.

Someone must know how to do this, if you don't, that's ok, but save us both
some time and read the post before you reply to it.
 
Scott,
I think I become blind.What do you want more.
Someone who copies it into your program?
Cor
 
Cor said:
I did look at all the answers
Do you want a better answer than this?
\\\
Again: Have a look at the implementation of the tools mentioned before.
Some of them come with source code.
///
It seems that I 'm not the only one who does not understand what you want.

Did you have a look at the answers? They didn't help...

;-)
 
Scott M. said:
Yes, I want a better answer than that. Looking at a tool is NOT an
acceptable option for me.

It's a very simple question: How do you get VS .NET to show a tooltip in
the class members drop-down window? The answers I've been getting is:
"Here's a tool that does it." That is not an answer to my question.

There are reasons why a tool won't be an acceptable solution for me.
Browsing through someone else's code is also NOT going to be an acceptable
solution.

Someone must know how to do this, if you don't, that's ok, but save us both
some time and read the post before you reply to it.

I think the problem is that you didn't explain what exactly you want to
do...

Q: Do you want to add tooltips for your libraries?
A: Use one of the tools.

Q: Do you want to build a tool for creating the XML file?
A: Have a look at the implementations of the tools.

Q: Do you want to build an XML file by hand?
A: Have a look at the output of the tools or have a look at the link I
posted in my previous reply to this thread.
 
Fergus Cooney said:
LOL, In the absence of anyone being able to tell you, you could GET THE
TOOL ANYWAY and play with it. Then see what information it puts in what files
and work it out. Enjoy the challenge.

But maybe someone'll tell you how to do it. I'll be surprised, though, as
I expect they'd have said so by now.

Another option is to find out who the toolmakers are and contact them
directly. If the tool is free, they may be free with their knowledge too.

I found the documentation for the XML format used to store the data for
the tooltips and posted a link. Let's see if it helps...
 
Scott M. said:
I am dumbfounded at posts like yours. If you can't understand what I'm
asking and/or don't have the answer, then it might be best for you not to
post a reply.

You never told us what exactly you want to do...
There are reasons why I want/need to stay away from a tool. I've said
repeatedly that a tool is not an option for me. What part of that is
confusing you?

You cannot create the XML file required for the comments without a tool
like a plain text editor.
 
Yes I did tell you exactly what I want to do (several times). I want to
have tooltips appear in the class members list box and I want to write
whatever code is necessary myself. I don't want a software application that
builds it (or peices of it) for me.

I'm not talking about the text editor. Come on Herfried. I'm talking about
the links to the applications specifically designed to do the work for you,
that have been what everyone has posted in response to my question.
 
Cor,

I don't want to pick at an application separating pieces that I need from
pieces I don't.

Somewhere there must be documentation (NOT AN APPLICATION) on how to do
this. That's what I want.

No, I don't want someone to copy it into my program, in fact, if you've been
READING my posts, you'd know that the exact opposite is true.

I want to know and understand how this process works, I don't want it done
for me.
 
Ummm. I think the problem is that you can't read!

See comments inline.

Herfried K. Wagner said:
I think the problem is that you didn't explain what exactly you want to
do...

Q: Do you want to add tooltips for your libraries? YES!
A: Use one of the tools.
NO! I WANT TO DO IT FROM SCRATCH MYSELF!
Q: Do you want to build a tool for creating the XML file? NO!
A: Have a look at the implementations of the tools. N/A

Q: Do you want to build an XML file by hand? YES!
A: Have a look at the output of the tools or have a look at the link I
posted in my previous reply to this thread.
I WANT TO READ (LEARN, SEE DOCUMENTATION ON, ETC.) UP ON HOW THIS IS
ACCOMPLISHED. I DON'T WANT TO SEE SOME 3RD PARTY'S EXPLANATION OF IT OR
HAVE TO SORT OUT WHAT MAKE THE OUTPUT FROM THE OUTPUT ITSELF.

YOU ACTUALLY DIDN'T POST A LINK, YOU SAID YOU DID, BUT YOU DIDN'T.
 
Well, we're getting closer. This looks like documentation on how to do this
with C#. I want to do it with VB.NET.

Herfried K. Wagner said:
Scott M. said:
I want to know how I can (not a tool) create tooltips that appear as someone
browses the member list of a custom class I've created. [...]
Documentation on this would be helpful. Namespaces/classes to look at would
be helpful. Tools that do this for me would NOT be helpful.

Maybe that's what you are looking for:

<http://msdn.microsoft.com/library/en-us/csref/html/vclrfProcessingXMLFile.a
sp>
 
Hi Scott,

|| I am dumbfounded at posts like yours.

I'm dumbfounded at posters like you.

|| If you can't understand what I'm asking and/or don't
|| have the answer, then it might be best for you not to
|| post a reply.

True, but it's been a slow day - you've had the misfortune to get my
attention. And I saw what looks like a demanding little boy about to get
stroppy.


|| I've said repeatedly that a tool is not an option for me.

Yes, yawn. Repeatedly.

|| There are reasons why I want/need to stay away from a tool.

It might help to say why, but you're not willing to tell us.

|| What part of that is confusing you?

The part where you refuse to see that repetition isn't working and that
additional information is required.

=================================

It's very frustrating for you that no-one understands you. Of course this
has nothing to do with the fact that you have repeated yourself many times
about what you <don't> want. But have not said why, nor explained your needs
in any more detail.

Do you like hitting your head against a brick wall? Some people who aren't
getting their message across stop saying what they're saying and explain their
needs from a different angle. Others simply start SHOUTING about what they
DON'T want. It's a shame that you seem to be one of these.

NO! I don't want a tool. NO! I don't want to look at a tool. NO! I don't
want to follow the links that you've given me. NO! I don't want to do any
research. NO! NO! NO! - I JUST WANT YOU TO TELL ME!!!

You have come across as quite spoilt, which is a shame. What do you think
we are here? At your beck and call? We help if we can - to the extent that we
can. We like people to be clear about what they are asking for. It's not
always the case but it makes things easier. In the absence of clarity, we do
what can be done. Misunderstandings are unfortunate but more likely when
people aren't clear. People who repeat <without adding information> will
suffer repeated misunderstanding..

Given that nobody here has done this tooltip documentation themselves
(those that want it use the tools!), the best that you can get is referrals.
And people will be helpful enough to add what <may> be relevant because if
they <don't> give it, you'll <never know>. But if they do and it works out -
that's great. It's up to you to investigate and use that information or not.
What do you want - to be spoon-fed?

Stamping your foot and having a tantrum!! LOL.

Fergus

Scott said:
==================================
How do I add information to a custom class's properties and methods so that
when an instance of the class is made the VS.NET intelliSense will show the
information in a tooltip as the members are browsed from the drop-down list.
Is this done by marking the property/method with some attribute? If so,
which and how?

==================================
Thanks Herfried, but I'm not looking for a tool to do this for me, I'd like
to know how to manually make this happen.
==================================
Thanks Tian, but I'd like to know how to do this myself. I'm not looking
for a tool that does it for me.
==================================
Thanks for your reply Tian, but, as I said, I am looking to find out how to
do this myself (without a tool) and in VB .NET, not C#.
Can you help me with this?
==================================
Again, thank you for your reply Herfried, but I am being as clear as I can
be on this: I do not want to use a tool, so the links you provided won't
help me. I do want (as you indicated below) to do this myself.
Do you have information on how this is accomplished or not?
==================================
Thanks, but I think it's clear that you don't understand my post.
==================================
 
[Re-post - first one seems to have got lost]

Hi Scott,

|| I am dumbfounded at posts like yours.

I'm dumbfounded at posters like you!!

|| If you can't understand what I'm asking and/or don't
|| have the answer, then it might be best for you not to
|| post a reply.

True, but it's been a slow day - you've had the misfortune to get my
attention. And I saw what looks like a demanding little boy getting stroppy.


|| I've said repeatedly that a tool is not an option for me.

Yes, yawn. Repeatedly.

|| There are reasons why I want/need to stay away from a tool.

It might help to say why, but you're not willing to tell us.

|| What part of that is confusing you?

The part where you refuse to see that repetition isn't working and that
additional information is required.

=================================

It's very frustrating for you that no-one understands you. Of course this
has nothing to do with the fact that you have repeated yourself many times
about what you <don't> want. But have not said why, nor explained your needs
in any more detail.

Do you like hitting your head against a brick wall? Some people who aren't
getting their message across stop saying what they're saying and explain their
needs from a different angle. Others simply start SHOUTING about what they
DON'T want. It's a shame that you seem to be one of these.

NO! I don't want a tool. NO! I don't want to look at a tool. NO! I don't
want to follow the links that you've given me. NO! I don't want to do any
research. NO! NO! NO! - I JUST WANT YOU TO TELL ME!!!

You have come across as quite spoilt, which is a shame. What do you think
we are here? At your beck and call? We help if we can - to the extent that we
can. We like people to be clear about what they are asking for. It's not
always the case but it makes things easier. In the absence of clarity, we do
what can be done. Misunderstandings are unfortunate but more likely when
people aren't clear. People who repeat <without adding information> will
suffer repeated misunderstanding..

Given that nobody here has done this tooltip documentation themselves
(those that want it use the tools!), the best that you can get is referrals.
And people will be helpful enough to add what <may> be relevant because if
they <don't> give it, you'll <never know>. But if they do and it works out -
that's great. It's up to you to investigate and use that information or not.
What do you want - to be spoon-fed?

Stamping your foot and having a tantrum!! LOL.

Fergus

Scott said:
==================================
How do I add information to a custom class's properties and methods so that
when an instance of the class is made the VS.NET intelliSense will show the
information in a tooltip as the members are browsed from the drop-down list.
Is this done by marking the property/method with some attribute? If so,
which and how?
==================================
Thanks Herfried, but I'm not looking for a tool to do this for me, I'd like
to know how to manually make this happen.
==================================
Thanks Tian, but I'd like to know how to do this myself. I'm not looking
for a tool that does it for me.
==================================
Thanks for your reply Tian, but, as I said, I am looking to find out how to
do this myself (without a tool) and in VB .NET, not C#.
Can you help me with this?
==================================
Again, thank you for your reply Herfried, but I am being as clear as I can
be on this: I do not want to use a tool, so the links you provided won't
help me. I do want (as you indicated below) to do this myself.
Do you have information on how this is accomplished or not?
==================================
Thanks, but I think it's clear that you don't understand my post.
==================================
 
I don't need to be lectured by you. If you don't have the answer, don't
post a reply. Quite frankly, I could care less how I come across to you. I
had a simple question and was provided information that doesn't answer it.
There is no more information for me to provide. Again, if you don't
understand or don't know the answer, save yourself the trouble and move on
to the next post you can supply an answer to.

I too provide answers here when I can. And, I can tell you that from
reading many of your posts in the past, you come across as arrogant. The
only reason for me posting what I am NOT looking for (and using CAPS to
boot) is because of numerous replies that only point me to resources that I
have indicated CLEARLY I am not looking for.

If you would take the same amount of time and care in READING my original
post(s), you would see I was very specific about what I AM looking for.

But now that you have sufficiently vented your pent up hostilities, I
suspect you are spent and are probably nursing a glass of warm milk!


Fergus Cooney said:
[Re-post - first one seems to have got lost]

Hi Scott,

|| I am dumbfounded at posts like yours.

I'm dumbfounded at posters like you!!

|| If you can't understand what I'm asking and/or don't
|| have the answer, then it might be best for you not to
|| post a reply.

True, but it's been a slow day - you've had the misfortune to get my
attention. And I saw what looks like a demanding little boy getting stroppy.


|| I've said repeatedly that a tool is not an option for me.

Yes, yawn. Repeatedly.

|| There are reasons why I want/need to stay away from a tool.

It might help to say why, but you're not willing to tell us.

|| What part of that is confusing you?

The part where you refuse to see that repetition isn't working and that
additional information is required.

=================================

It's very frustrating for you that no-one understands you. Of course this
has nothing to do with the fact that you have repeated yourself many times
about what you <don't> want. But have not said why, nor explained your needs
in any more detail.

Do you like hitting your head against a brick wall? Some people who aren't
getting their message across stop saying what they're saying and explain their
needs from a different angle. Others simply start SHOUTING about what they
DON'T want. It's a shame that you seem to be one of these.

NO! I don't want a tool. NO! I don't want to look at a tool. NO! I don't
want to follow the links that you've given me. NO! I don't want to do any
research. NO! NO! NO! - I JUST WANT YOU TO TELL ME!!!

You have come across as quite spoilt, which is a shame. What do you think
we are here? At your beck and call? We help if we can - to the extent that we
can. We like people to be clear about what they are asking for. It's not
always the case but it makes things easier. In the absence of clarity, we do
what can be done. Misunderstandings are unfortunate but more likely when
people aren't clear. People who repeat <without adding information> will
suffer repeated misunderstanding..

Given that nobody here has done this tooltip documentation themselves
(those that want it use the tools!), the best that you can get is referrals.
And people will be helpful enough to add what <may> be relevant because if
they <don't> give it, you'll <never know>. But if they do and it works out -
that's great. It's up to you to investigate and use that information or not.
What do you want - to be spoon-fed?

Stamping your foot and having a tantrum!! LOL.

Fergus

Scott said:
==================================
How do I add information to a custom class's properties and methods so that
when an instance of the class is made the VS.NET intelliSense will show the
information in a tooltip as the members are browsed from the drop-down list.
Is this done by marking the property/method with some attribute? If so,
which and how?
==================================
Thanks Herfried, but I'm not looking for a tool to do this for me, I'd like
to know how to manually make this happen.
==================================
Thanks Tian, but I'd like to know how to do this myself. I'm not looking
for a tool that does it for me.
==================================
Thanks for your reply Tian, but, as I said, I am looking to find out how to
do this myself (without a tool) and in VB .NET, not C#.
Can you help me with this?
==================================
Again, thank you for your reply Herfried, but I am being as clear as I can
be on this: I do not want to use a tool, so the links you provided won't
help me. I do want (as you indicated below) to do this myself.
Do you have information on how this is accomplished or not?
==================================
Thanks, but I think it's clear that you don't understand my post.
==================================
 
Back
Top