Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved How To Show Text In TaskBar Of Win7(or newer)?

    General and Desktop
    4
    9
    260
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • qazaq408
      qazaq408 last edited by

      The better are text and picture like this.
      1.png

      i search in Qt Assistant for long time ,but can't find a class that can realize this.there is a class that can set taskbar of win7(or win10),but thfunction of QWinTaskbarButton is too far to my requirement..
      2.png

      1 Reply Last reply Reply Quote 0
      • B
        Bonnie last edited by

        That's an IME tool bar.
        I don't think you can do that.

        qazaq408 1 Reply Last reply Reply Quote 0
        • qazaq408
          qazaq408 @Bonnie last edited by

          @Bonnie
          it's just a example. There does exist a EXE that can set taskbar of win7.i want to know that Qt can do this or not.
          3.png

          jsulm 1 Reply Last reply Reply Quote 0
          • jsulm
            jsulm Lifetime Qt Champion @qazaq408 last edited by

            @qazaq408 I don't think there is anything in Qt for this (you can implement task button in Qt, but this is not what you want if I understand you correctly). I think you will need to use Windows APIs for that.

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            qazaq408 1 Reply Last reply Reply Quote 0
            • qazaq408
              qazaq408 @jsulm last edited by

              @jsulm
              tks

              1 Reply Last reply Reply Quote 0
              • mrjj
                mrjj Lifetime Qt Champion last edited by mrjj

                Hi
                Just as a note.
                In WinExtra it shows "task bar button overlays"
                https://doc.qt.io/qt-5/qtwinextras-musicplayer-example.html

                which looks like that?

                alt text

                ( sample running on win 10)

                Im not 100% sure that is what poster wants, but it does show song title and
                color it to show volume.

                1 Reply Last reply Reply Quote 1
                • B
                  Bonnie last edited by Bonnie

                  I think what the OP want is Desk Bands of Windows Shell, which is managed as toolbars on the taskbar.
                  Purely windows, not available in Qt.
                  It is a quite old feature and is actually recommended to be replaced by thumbnail toolbars.

                  mrjj 1 Reply Last reply Reply Quote 0
                  • mrjj
                    mrjj Lifetime Qt Champion @Bonnie last edited by

                    @Bonnie said in How To Show Text In TaskBar Of Win7(or newer)?:

                    Desk Bands of Windows Shell,

                    Like these ?
                    https://docs.microsoft.com/en-us/windows/win32/shell/band-objects

                    Ok, im not sure if he want to draw on the Bar button for a window or something else.

                    qazaq408 1 Reply Last reply Reply Quote 0
                    • qazaq408
                      qazaq408 @mrjj last edited by

                      @mrjj
                      Thank you very much

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post