How avoid that my balloon tip dissapears when I press the Show Desktop button?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jose Luis Barrio
    New Member
    • Aug 2010
    • 4

    How avoid that my balloon tip dissapears when I press the Show Desktop button?

    I have a balloon tip showing the screen coordinates of my mouse, and when I press the Show Desktop button the balloon tip is gone. I want to know how to avoid this?

    I hope someone can answer my doubt, thanks!!
  • Curtis Rutland
    Recognized Expert Specialist
    • Apr 2008
    • 3264

    #2
    You actually may not be able to do this. Show Desktop hides everything except "always on top" windows. You might need to make a small form, position it, and set it's "TopMost" property to true. That may keep it on the screen.

    You can also make it non-resizable, and get rid of the title bar.

    Comment

    • Jose Luis Barrio
      New Member
      • Aug 2010
      • 4

      #3
      How avoid that my balloon tip dissapears when I press the Show Desktop button? Repl

      I have already a windows form, showing the color preview and the magnified window, that is TopMost, and it doesn't dissapear but the balloon tip where I show the coordinates and other values such distance, RGB values and so on is dissapearing. I want to know if it's any way to know in my code when I press the Show Desktop button for in that moment make it appear again.

      Thank you for your answer, it's the first time I post any question on the internet.

      Comment

      • Curtis Rutland
        Recognized Expert Specialist
        • Apr 2008
        • 3264

        #4
        Like I said, I honestly don't think that you can do this. I can't find any information on any events or window messages that signify a Show Desktop. I could show you how to catch the HotKey, but that won't fix then just clicking the button.

        You might need to make your own "fake" tooltip as a custom form. With some work, you can make it look like a balloon tip, but you can have it's TopMost property set to true.

        Comment

        • Jose Luis Barrio
          New Member
          • Aug 2010
          • 4

          #5
          Thanks a lot for your help, I would try to make my form as a tooltip.

          Comment

          Working...