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. C / C++ / MFC
  3. CToolBar and Controls

CToolBar and Controls

Scheduled Pinned Locked Moved C / C++ / MFC
5 Posts 2 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.
  • D Offline
    D Offline
    Drake Elsari
    wrote on last edited by
    #1

    How do I place controls like a CComboBox on a flat CToolBar derived toolbar?

    L 1 Reply Last reply
    0
    • D Drake Elsari

      How do I place controls like a CComboBox on a flat CToolBar derived toolbar?

      L Offline
      L Offline
      l a u r e n
      wrote on last edited by
      #2

      make a dialog bar instead its easier :) --- "every year we invent better idiot proof systems and every year they invent better idiots"

      D 1 Reply Last reply
      0
      • L l a u r e n

        make a dialog bar instead its easier :) --- "every year we invent better idiot proof systems and every year they invent better idiots"

        D Offline
        D Offline
        Drake Elsari
        wrote on last edited by
        #3

        Yeah, but then I can't have it be the same height as my other toolbar, and I can't have flat toolbar buttons.

        L 1 Reply Last reply
        0
        • D Drake Elsari

          Yeah, but then I can't have it be the same height as my other toolbar, and I can't have flat toolbar buttons.

          L Offline
          L Offline
          l a u r e n
          wrote on last edited by
          #4

          ok ... i see your point ... i won't say it can't be done (every time i say such a thing i find out it can be and i'm beginning to believe that anything can be done given enough time and effort) ... that said however i think to achieve what you want will take some considerable effort as toolbars are not designed to have other controls in them (afaik) ... why not make a dialog bar and do custom drawing of the buttons you want to be flat? it might be easier than the other option now i await to be told it is easy ... just use CWhateverToolbar etc etc ;) --- "every year we invent better idiot proof systems and every year they invent better idiots"

          D 1 Reply Last reply
          0
          • L l a u r e n

            ok ... i see your point ... i won't say it can't be done (every time i say such a thing i find out it can be and i'm beginning to believe that anything can be done given enough time and effort) ... that said however i think to achieve what you want will take some considerable effort as toolbars are not designed to have other controls in them (afaik) ... why not make a dialog bar and do custom drawing of the buttons you want to be flat? it might be easier than the other option now i await to be told it is easy ... just use CWhateverToolbar etc etc ;) --- "every year we invent better idiot proof systems and every year they invent better idiots"

            D Offline
            D Offline
            Drake Elsari
            wrote on last edited by
            #5

            I know how to place CComboBoxs on the old toolbars, but it doesn't work on the falt ones.

            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