Docking Pane Examples

The following sample applications demonstrate the powerful features that are available with Codejock Docking Pane components.

Each sample is provided as a stand alone executable that can be easily downloaded. All samples are included with our products and are provided with complete source code.


Active Pane Preview Sample

The Active Pane View sample simply demonstrates how to detect when a view has become active, how to determine which view is currently active, and how to activate a view that is not yet active.

Sample Uses:
Docking Pane, Command Bars

Dialog Panes Sample

The Dialog Panes sample (MFC only) demonstrates how to add docking panes to a dialog based application. Now Docking Panes can be added to any type of window, before they could only be added to CFrameWnd derived windows.

Sample Uses:
Docking Pane, Command Bars

Docking Containers Sample

The Docking Containers sample demonstrates how to override the virtual container of each docking pane and how to add additional functionality such as adding another button in the pane's caption bar. You can have the custom button display a dialog or a popup menu, it's up to you.

Sample Uses:
Docking Pane, Command Bars

Dynamic Panes Sample

The Dynamic Panes sample demonstrates how to add, hide, and destroy panes at runtime. You can then re-create the pane any time you want. Panes can be added three at a time in a column, row, or grouped together. You will also see how to prevent a pane from closing, as well as how to display a context menu when the panes caption bar is right-clicked.

Sample Uses:
Docking Pane, Command Bars

MDI Panes Sample

The MDI Docking Panes sample simply demonstrates how to add a docking pane to a child of a MDI application. Each child window will also have it's own commandbar.

Sample Uses:
Docking Pane, Command Bars, Property Grid

Pane Sample

The Pane Sample program will demonstrate how to dock panes to an application. Panes will be attached to other panes which will keep them grouped together. One pane will not be closeable, another will not be able to be hidden, and another is not floatable. You will see how to change the visual theme of the docking panes. You will see how to set the minimum and maximum size of pane, tab position, and tab orientation.

Sample Uses:
Docking Pane, Command Bars

Pane Actions Sample

The Pane Actions sample demonstrates how to detect which actions a pane is about to perform, which action is currently happening, and when an action has finished. You will have the option to choose which pane actions are allowed for each pane, as well as specifying if the pane can be floating, hidden, or closed. This sample will help you see how to restrict pane movement.

Sample Uses:
Docking Pane, Command Bars