Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Create a Windows system message/notification
Forum Updated to NodeBB v4.3 + New Features

Create a Windows system message/notification

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 3.7k Views 2 Watching
  • 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.
  • H Offline
    H Offline
    hobbyProgrammer
    wrote on 5 Nov 2019, 11:33 last edited by hobbyProgrammer 11 May 2019, 11:43
    #1

    Hi,

    I am making a timer and I would like a system message to appear when the timer is completed.
    I think I've seen it before in one of the examples, so if you know the name of the example, that would be very helpful.

    (The way outlook shows you that you've got an email or how discord shows you incoming messages)

    J 1 Reply Last reply 5 Nov 2019, 11:46
    0
    • H hobbyProgrammer
      5 Nov 2019, 11:33

      Hi,

      I am making a timer and I would like a system message to appear when the timer is completed.
      I think I've seen it before in one of the examples, so if you know the name of the example, that would be very helpful.

      (The way outlook shows you that you've got an email or how discord shows you incoming messages)

      J Offline
      J Offline
      JonB
      wrote on 5 Nov 2019, 11:46 last edited by
      #2

      @hobbyProgrammer said in Create a Windows system message/notification:

      a system message to appear

      What do you mean by this? Are you talking about native Windows SendMessage() call, or something quite different/specific?

      H 1 Reply Last reply 5 Nov 2019, 12:02
      0
      • J JonB
        5 Nov 2019, 11:46

        @hobbyProgrammer said in Create a Windows system message/notification:

        a system message to appear

        What do you mean by this? Are you talking about native Windows SendMessage() call, or something quite different/specific?

        H Offline
        H Offline
        hobbyProgrammer
        wrote on 5 Nov 2019, 12:02 last edited by
        #3

        @JonB Hi.

        I meant the way outlook shows you that you've got an email or how discord shows you incoming messages.

        0ff93aec-7b28-4b1e-b565-9acfaa9fc850-image.png

        J 1 Reply Last reply 5 Nov 2019, 12:08
        0
        • H hobbyProgrammer
          5 Nov 2019, 12:02

          @JonB Hi.

          I meant the way outlook shows you that you've got an email or how discord shows you incoming messages.

          0ff93aec-7b28-4b1e-b565-9acfaa9fc850-image.png

          J Offline
          J Offline
          JonB
          wrote on 5 Nov 2019, 12:08 last edited by JonB 11 May 2019, 12:13
          #4

          @hobbyProgrammer
          OK, sorry, I don't know. It might be Windows 10-sy, or it might have something to do with the system tray. Is https://stackoverflow.com/questions/11450528/qt-notifications-without-tray-icon-possible relevant to you? See https://stackoverflow.com/questions/58096835/qt-windows-10-notifications, or https://stackoverflow.com/questions/48991603/c-qt-how-to-check-if-toast-notifications-are-enabled-for-my-application. So I think it has something to do with the system tray, or whatever "toast" is...

          1 Reply Last reply
          2
          • M Offline
            M Offline
            mrjj
            Lifetime Qt Champion
            wrote on 5 Nov 2019, 21:09 last edited by
            #5

            Hi
            There is also
            https://github.com/mohabouje/WinToast

            1 Reply Last reply
            1

            1/5

            5 Nov 2019, 11:33

            • Login

            • Login or register to search.
            1 out of 5
            • First post
              1/5
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved