CCloseAction

Hi,
I’m new here and I’m trying to figure out if docking frames has everything I need to implment the layout I have in mind and so far so good. There are still some things I don’t know how to do, and I couldn’t find answers to my doublts. I attached my current layout, it’s a CWorkingArea in the center and a CMinimizeArea in the bottom. The idea is to have a menu with all available modules, the user clicks on the menu item and a new tab is displayed in the CWorkingArea. The CMinimizeArea should display a docked/minimized LogViewer that the user can popup by clicking on it. I’m using Flat theme with some eclipse theme icon. Now my question:

  1. I’d like to have the X icon displayed in the tabs to let the user close/hide them. I tried adding a CCloseAction but nothing shows up, what am I missing?

What type of object is your “Welcome”-Panel? Probably a DefaultSingleCDockable, in which case calling setCloseable( true ) will make the “x” appear (assuming you properly registered the Dockable at its CControl).

Yes, that worked, thanks.