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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Creating a CToolbarCtrl

Creating a CToolbarCtrl

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorialquestion
2 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.
  • R Offline
    R Offline
    Rafael Fernandez Lopez
    wrote on last edited by
    #1

    Hi ! I'm implementing into my project a CToolBarCtrl control. When I call the Create function, it doesn't matter the CRect that I set up because it always draws it on the top or bottom of the window (depends on the property that you set up), but I need to draw it into a CRect like floating into the window. Could you help me please ?? If you could paste a very little example... thank you !! Thanks in advance.


    Written by: Rafael Fernández López.

    void life ( bool me, bool her ) {

    if ( her ) { me = true ; } else { me = false ; }

    }

    M 1 Reply Last reply
    0
    • R Rafael Fernandez Lopez

      Hi ! I'm implementing into my project a CToolBarCtrl control. When I call the Create function, it doesn't matter the CRect that I set up because it always draws it on the top or bottom of the window (depends on the property that you set up), but I need to draw it into a CRect like floating into the window. Could you help me please ?? If you could paste a very little example... thank you !! Thanks in advance.


      Written by: Rafael Fernández López.

      void life ( bool me, bool her ) {

      if ( her ) { me = true ; } else { me = false ; }

      }

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      Use the CCS_NOPARENTALIGN style --Mike-- Personal stuff:: Ericahist | Homepage Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ ---- Kosh reminded me of some of the prima-donna programmers I've worked with. Knew everything but when you asked them a question; never gave you a straight answer.   -- Michael P. Butler in the Lounge

      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