Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How could I display clock time on toolBar?

How could I display clock time on toolBar?

Scheduled Pinned Locked Moved C / C++ / MFC
question
8 Posts 4 Posters 0 Views 1 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.
  • L Offline
    L Offline
    LeeeNN
    wrote on last edited by
    #1

    :rolleyes:

    J 1 Reply Last reply
    0
    • L LeeeNN

      :rolleyes:

      J Offline
      J Offline
      Jun Du
      wrote on last edited by
      #2

      Check this out: http://www.codeproject.com/docking/toolbarcombo.asp[^]. This article adds a ComboBox to the docking ToolBar. Best, Jun

      L 1 Reply Last reply
      0
      • J Jun Du

        Check this out: http://www.codeproject.com/docking/toolbarcombo.asp[^]. This article adds a ComboBox to the docking ToolBar. Best, Jun

        L Offline
        L Offline
        LeeeNN
        wrote on last edited by
        #3

        Thank you. But I just want to display text on toolBar and m_wndTimerBar.SetButtonText( 0, "clock" ); won't show string on the toolBar. Please help.:doh:

        S 1 Reply Last reply
        0
        • L LeeeNN

          Thank you. But I just want to display text on toolBar and m_wndTimerBar.SetButtonText( 0, "clock" ); won't show string on the toolBar. Please help.:doh:

          S Offline
          S Offline
          Stephen Hewitt
          wrote on last edited by
          #4

          I would guess the intention of the poster you responded to was that you could use the same technique used to put a combobox control on the toolbar to put a clock control on it. i.e. Make a clock window then follow the instructions in the article with adjustments to use your clock window instead of the combobox. Steve

          L 1 Reply Last reply
          0
          • S Stephen Hewitt

            I would guess the intention of the poster you responded to was that you could use the same technique used to put a combobox control on the toolbar to put a clock control on it. i.e. Make a clock window then follow the instructions in the article with adjustments to use your clock window instead of the combobox. Steve

            L Offline
            L Offline
            LeeeNN
            wrote on last edited by
            #5

            Thank you, is there a clock control?

            S stefanmihaimogaS 2 Replies Last reply
            0
            • L LeeeNN

              Thank you, is there a clock control?

              S Offline
              S Offline
              Stephen Hewitt
              wrote on last edited by
              #6

              Not that I know of. Making one would be trivial however. You could also do a search of the CodeProject and other sites to see if you can find a free one. Steve

              1 Reply Last reply
              0
              • L LeeeNN

                Thank you, is there a clock control?

                stefanmihaimogaS Offline
                stefanmihaimogaS Offline
                stefanmihaimoga
                wrote on last edited by
                #7
                1. Wall Clock Control[^] 2) A. Riazi's Analog Clock[^] 3) Davide Calabro's CClockST v1.3[^] 4) Hans Dietrich's XAnalogClock[^] 5) PJ Naughter's CClockCtrl v1.01[^] Good luck and keep the good coding!
                S 1 Reply Last reply
                0
                • stefanmihaimogaS stefanmihaimoga
                  1. Wall Clock Control[^] 2) A. Riazi's Analog Clock[^] 3) Davide Calabro's CClockST v1.3[^] 4) Hans Dietrich's XAnalogClock[^] 5) PJ Naughter's CClockCtrl v1.01[^] Good luck and keep the good coding!
                  S Offline
                  S Offline
                  Stephen Hewitt
                  wrote on last edited by
                  #8

                  Most of these look a little big to fit on a toolbar. Steve

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups