Announcement

Collapse
No announcement yet.

Windows program highlighted taskbar icon

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

  • Windows program highlighted taskbar icon

    Some programs highlight (or flash) their taskbar icon if the program needs attention.
    How is that done?
    Regards,
    Peter

  • #2

    Hey Peter, you mean programming it? FlashWindowEx. uCount sets the number of flashes. Where fwi is
    LOCAL fwi AS FLASHWINFO 'FlashWindowApi ' FLASHWINFO structure


    Code:
    IF hWin THEN                                        
      fwi.cbSize    = SIZEOF(fwi)
      fwi.hwnd      = hWin
      fwi.dwFlags   = %FLASHW_ALL
      fwi.uCount    = 5
      fwi.dwTimeout = 40
      FlashWindowEx fwi
    END IF

    Comment


    • #3
      Thanks,

      How simple can it be...
      Regards,
      Peter

      Comment


      • #4
        Hi Jim
        Please provide a sample code to implement this highlighted icon?
        TQ

        Comment


        • #5
          David Roberts had a demo.

          https://forum.powerbasic.com/forum/u...-caption-hover

          Comment


          • #6
            Thanks so much Frank

            Comment

            Working...
            X