CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
  1. #16
    Join Date
    May 2007
    Posts
    1,546

    Re: Multiple unassigned tooltips question

    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?
    What do you think the CreateWindowEx function call is doing?

    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).
    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.
    www.monotorrent.com 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.

  2. #17
    Join Date
    Mar 2005
    Location
    Vienna, Austria
    Posts
    4,538

    Re: Multiple unassigned tooltips question

    Quote Originally Posted by Slav2 View Post
    ...This is not "clean" coding really
    I have asked the same question on autohotkey forums, lest see if somebody will reply.
    And what is 'clean coding' then in your eyes ?
    Jonny Poet

    To be Alive is depending on the willingsness to help others and also to permit others to help you. So lets be alive. !
    Using Code Tags makes the difference: Code is easier to read, so its easier to help. Do it like this: [CODE] Put Your Code here [/code]
    If anyone felt he has got help, show it in rating the post.
    Also dont forget to set a post which is fully answered to 'resolved'. For more details look to FAQ's about Forum Usage. BTW I'm using Framework 3.5 and you ?
    My latest articles :
    Creating a Dockable Panel-Controlmanager Using C#, Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Part 7

Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured