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. Question for the strong

Question for the strong

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
9 Posts 5 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.
  • A Offline
    A Offline
    aguest
    wrote on last edited by
    #1

    For several times I had to put the qustion of how to add a DIALOGBAR into window but nobody have respend then i guessed that is very difficult to do,for that i titled my message Question for the strong

    J Q M 4 Replies Last reply
    0
    • A aguest

      For several times I had to put the qustion of how to add a DIALOGBAR into window but nobody have respend then i guessed that is very difficult to do,for that i titled my message Question for the strong

      J Offline
      J Offline
      John R Shaw
      wrote on last edited by
      #2

      I do not have the answer, but I do have some sujestions: (1) Search codeproject (for toolbars, etc...). (2) Get a copy of the "The MFC Answer Book" by Eugene Kain or search for the MFC FAQ: which is suppost to be maintained by Scot Wingo, Stringray Division of Rogue Wave Software. Trust in the code Luke. Yea right!

      1 Reply Last reply
      0
      • A aguest

        For several times I had to put the qustion of how to add a DIALOGBAR into window but nobody have respend then i guessed that is very difficult to do,for that i titled my message Question for the strong

        Q Offline
        Q Offline
        qweas
        wrote on last edited by
        #3

        try VC Main Menu->Project->Add to Project->Components and Controls Press it and select Visual C++ components, then you can see dialog bar.

        A 1 Reply Last reply
        0
        • Q qweas

          try VC Main Menu->Project->Add to Project->Components and Controls Press it and select Visual C++ components, then you can see dialog bar.

          A Offline
          A Offline
          aguest
          wrote on last edited by
          #4

          yes ,but u don't explain how i configure to use it???

          R 1 Reply Last reply
          0
          • A aguest

            yes ,but u don't explain how i configure to use it???

            R Offline
            R Offline
            Rage
            wrote on last edited by
            #5

            Search on MSDN for TN031. It is a technical article about Control Bars, which is the base of a CDialogBar. ~RaGE();

            1 Reply Last reply
            0
            • A aguest

              For several times I had to put the qustion of how to add a DIALOGBAR into window but nobody have respend then i guessed that is very difficult to do,for that i titled my message Question for the strong

              M Offline
              M Offline
              MemLeak
              wrote on last edited by
              #6

              It's really simple to add a dialogbar. first, Create a Dialog template into the resource editor. Name it IDD_MYDLGBAR or whatever name you want to give to it. second, Into your parent windows class (probably your mainframe class), in MyMainframe.h CDialogBar mydlgbar; into MymainFrame.cpp if(!mydlgbar.Create(this, IDD_MYDLGBAR, CBRS_RIGHT, IDD_MYDLGBAR)) { return 0; // fail to create } where: first parameter = parent handler second parameter = id of the dlg template third parameter = position of the dlgbar CBRS_RIGHT, CBRS_LEFT, CBRS_BOTTOM, CBRS_TOP last parameter = id of the dlg template MemLeak Everything's beautiful if you look at it long enough...

              A 1 Reply Last reply
              0
              • M MemLeak

                It's really simple to add a dialogbar. first, Create a Dialog template into the resource editor. Name it IDD_MYDLGBAR or whatever name you want to give to it. second, Into your parent windows class (probably your mainframe class), in MyMainframe.h CDialogBar mydlgbar; into MymainFrame.cpp if(!mydlgbar.Create(this, IDD_MYDLGBAR, CBRS_RIGHT, IDD_MYDLGBAR)) { return 0; // fail to create } where: first parameter = parent handler second parameter = id of the dlg template third parameter = position of the dlgbar CBRS_RIGHT, CBRS_LEFT, CBRS_BOTTOM, CBRS_TOP last parameter = id of the dlg template MemLeak Everything's beautiful if you look at it long enough...

                A Offline
                A Offline
                aguest
                wrote on last edited by
                #7

                i thank you MemLeak it work well .

                A 1 Reply Last reply
                0
                • A aguest

                  i thank you MemLeak it work well .

                  A Offline
                  A Offline
                  aguest
                  wrote on last edited by
                  #8

                  i want to add in this new DIALOGBAR one Slider and EditBox who show the progression of the Slider,but i have problem because i think that they have two DIALOGBAR in the application the first with the MFC application when it's created and the second who it's the child and i creat it .

                  1 Reply Last reply
                  0
                  • A aguest

                    For several times I had to put the qustion of how to add a DIALOGBAR into window but nobody have respend then i guessed that is very difficult to do,for that i titled my message Question for the strong

                    M Offline
                    M Offline
                    MemLeak
                    wrote on last edited by
                    #9

                    Hi, For your question with opengl, you can find a lot of stuff out there (web) to help you. Also, you can have some example here on code project. If you want more specific examples of how to use opengl with mfc you can go here: http://pws.prserv.net/mfcogl/ hope it help you.:) Everything's beautiful if you look at it long enough...

                    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