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. Removing caption bar in toolbar

Removing caption bar in toolbar

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

    I want remove caption bar in Toolbar(Floating). I try to modify stlyle of Toolbar with ModifyStyle() method but, failed. ModifyStyle( WS_CAPTION, NULL ) -> this is I called Method Thanks for reading this message!

    C 1 Reply Last reply
    0
    • A Andrebon

      I want remove caption bar in Toolbar(Floating). I try to modify stlyle of Toolbar with ModifyStyle() method but, failed. ModifyStyle( WS_CAPTION, NULL ) -> this is I called Method Thanks for reading this message!

      C Offline
      C Offline
      Cristi Posea
      wrote on last edited by
      #2

      When the toolbar is floating there are in fact 3 (three!) windows on top of each other. The first one is a CMiniDockFrameWnd, the second one is a CDockBar, and finaly there is the CToolBar. So you cannot change the style of the miniframe by calling ModifyStyle for the toolbar. In fact, it is also very complicated to remove the miniframe's caption. If you really need this, in my article "CSizingControlBar..." in the Docking Windows section here, you will find how to do it, but be warned: this is a side feature in that library, and I didn't documented it.

      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