March 10th, 2009, 03:23 PM
Re: Multiple unassigned tooltips question
What do you think the CreateWindowEx function call is doing?
If I want to use ToolTip class I have to create a form, draw a bitton, assign tooltip to this button and hide the form?
That isn't really possible. A console app simply does not support tooltips. A library should most definitely *not* be creating tooltips. What if you want to use your library in a web app, why would you want it to be creating tooltips? If you have a windows forms app, you can use the standard tooltip class. If you don't, well, why are you trying to create windows forms tooltips through P/Invokes. It just doesn't make sense to me.
But I want to make a module which is working all the time independently on what we are trying to code (console application or library or windows forms application).
For all your .NET bittorrent needs
NOTE: My code snippets are just
snippets. They demonstrate an idea which can be adapted by you to solve your problem. They are not 100% complete and fully functional solutions equipped with error handling.
Tags for this Thread
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!