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. Dockable Panes

Dockable Panes

Scheduled Pinned Locked Moved C / C++ / MFC
c++debugginghelptutorialquestion
3 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.
  • T Offline
    T Offline
    Taruni
    wrote on last edited by
    #1

    Hi, I am using new MFC Feature pack and trying to create 4 DockablePanes in the child frame. A view is created in each of these dockable panes.When I run the application, only two of the panes (the first and the last one) are only shown and the remaining are hidden. Once I drag the splitters, they are seen and they function normally from then.I am unable to trace the problem. Is there any limit on the number of dockable panes that an application can have? Could anyone let me know as how to solve this problem so that I can view all the panes? Thanks in advance

    Taruni

    A 1 Reply Last reply
    0
    • T Taruni

      Hi, I am using new MFC Feature pack and trying to create 4 DockablePanes in the child frame. A view is created in each of these dockable panes.When I run the application, only two of the panes (the first and the last one) are only shown and the remaining are hidden. Once I drag the splitters, they are seen and they function normally from then.I am unable to trace the problem. Is there any limit on the number of dockable panes that an application can have? Could anyone let me know as how to solve this problem so that I can view all the panes? Thanks in advance

      Taruni

      A Offline
      A Offline
      Ahmed Charfeddine
      wrote on last edited by
      #2

      I think there is no number limitation. I once created an application with 5 docking panes in the main frame, and with additional 6 panes for each new popup child frame. (exactly like MSOutlook when you open many windows for composing new messages). Actually you have to check your code in CMainFrame::OnCreate member when you must have set the docking mode, autohide, docking side globally and must have called the ::EnableDocking and ::DockPane for each pane object. Also check to clean up the registry entry corresponding to your application. Those panes persist their behavior in the registry, and restore the past settings even if you change your source code and run the new version of the program.

      T 1 Reply Last reply
      0
      • A Ahmed Charfeddine

        I think there is no number limitation. I once created an application with 5 docking panes in the main frame, and with additional 6 panes for each new popup child frame. (exactly like MSOutlook when you open many windows for composing new messages). Actually you have to check your code in CMainFrame::OnCreate member when you must have set the docking mode, autohide, docking side globally and must have called the ::EnableDocking and ::DockPane for each pane object. Also check to clean up the registry entry corresponding to your application. Those panes persist their behavior in the registry, and restore the past settings even if you change your source code and run the new version of the program.

        T Offline
        T Offline
        Taruni
        wrote on last edited by
        #3

        Thank you. I am able to create multiple dockablepanes in the childframe, but I have one more problem. There are four dockable panes in my childframe and the splitter for only the last dockable pane is only seen. When I double click or adjust the last pane's splitter or click on the "Auto Hide" button of any of the dockable panes or close any of the dockable panes, then only all the other panes splitters are seen. Please let me know as how to make the splitters of all the panes visible as soon as run my application.

        Taruni

        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