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. In a Dialog based MFC program, Can I use CToolBar class?

In a Dialog based MFC program, Can I use CToolBar class?

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorialquestion
6 Posts 3 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.
  • F Offline
    F Offline
    fantasy1215
    wrote on last edited by
    #1

    In a Dialog based MFC program, Can I use class CToolBar? or I just can use CToolBarCtrl? And how to add two CTolBarCtrls in the dialog based program?

    N R F 3 Replies Last reply
    0
    • F fantasy1215

      In a Dialog based MFC program, Can I use class CToolBar? or I just can use CToolBarCtrl? And how to add two CTolBarCtrls in the dialog based program?

      N Offline
      N Offline
      Naveen
      wrote on last edited by
      #2

      fantasy1215 wrote:

      In a Dialog based MFC program, Can I use class CToolBar

      Yes you can.. In the article http://www.codeproject.com/KB/shell/OpenedFileFinder.aspx[^], I have used two toolbars in a dialog. Refer it if you want a sample.

      nave [OpenedFileFinder]

      F 1 Reply Last reply
      0
      • F fantasy1215

        In a Dialog based MFC program, Can I use class CToolBar? or I just can use CToolBarCtrl? And how to add two CTolBarCtrls in the dialog based program?

        R Offline
        R Offline
        Rane
        wrote on last edited by
        #3

        Take a quick look at this link[^]">. Regards, Rane

        modified on Thursday, September 4, 2008 11:59 PM

        1 Reply Last reply
        0
        • N Naveen

          fantasy1215 wrote:

          In a Dialog based MFC program, Can I use class CToolBar

          Yes you can.. In the article http://www.codeproject.com/KB/shell/OpenedFileFinder.aspx[^], I have used two toolbars in a dialog. Refer it if you want a sample.

          nave [OpenedFileFinder]

          F Offline
          F Offline
          fantasy1215
          wrote on last edited by
          #4

          Thanks very much for your reply. Yes, it will be very kind if you send me your sample. I'm fooled by it. Send the sample to this email: albertkong1984@gmail.com Thx.

          N 1 Reply Last reply
          0
          • F fantasy1215

            Thanks very much for your reply. Yes, it will be very kind if you send me your sample. I'm fooled by it. Send the sample to this email: albertkong1984@gmail.com Thx.

            N Offline
            N Offline
            Naveen
            wrote on last edited by
            #5

            The sample is already there in that link. Here is direct link[^]

            nave [OpenedFileFinder]

            1 Reply Last reply
            0
            • F fantasy1215

              In a Dialog based MFC program, Can I use class CToolBar? or I just can use CToolBarCtrl? And how to add two CTolBarCtrls in the dialog based program?

              F Offline
              F Offline
              fantasy1215
              wrote on last edited by
              #6

              And how about adding two CToolBarCtrl in a dialog?

              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