Announcement

Collapse
No announcement yet.

"Invalidate" tooltip of tray icon

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • "Invalidate" tooltip of tray icon

    Hi, guys --
    It possible to change an icon "imm." by Shell_NotifyIcon %NIM_MODIFY.
    But how to stimulate refreshing of tooltip, when cursor is under icon ?

    PS. Can't find NIF_INFO constant ...

    ------------------


    [This message has been edited by Semen Matusovski (edited July 21, 2000).]

  • #2
    Should there be one? Only found these in Win32api.inc,
    Code:
    %NIF_MESSAGE                                 = &H1
    %NIF_ICON                                    = &H2
    %NIF_TIP                                     = &H4
    I guess if you use %NIF_TIP in NOTIFYICONDATA's uFlags, szTip
    can be used to hold the text for the tooltip (ASCIIZ * 64).

    ------------------

    Comment


    • #3
      Borje --
      1) NIF_INFO Use a balloon-style tooltip instead of a standard tooltip.
      It's a new style (IE 5, as I understand)
      2)
      It's not a problem to display a tooltip.
      I want to change icon and tooltip by timer.
      First works. Second ...
      If cursor is under tray icon, a tooltip appears on the screen one time only.
      If to move to another icon and to come back - again (it will be new tooltip).
      But I want changes without such movements (similar an icon).
      ------------------




      [This message has been edited by Semen Matusovski (edited July 21, 2000).]

      Comment

      Working...
      X