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.


Pane

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.zip
 Size: 9.56 Mb

Docking Pane

Active Pane View

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

ActivePaneView.zip
 Size: 2.12 Mb

Active Pane View

Dialog Panes

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

DialogPanes.zip
 Size: 5.58 Mb

Dialog Panes

Docking Containers

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

DockingContainers.zip
 Size: 2.13 Mb

Docking Containers

Dynamic Panes

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

DynamicPanes.zip
 Size: 2.14 Mb

Dynamic Panes

MDI Panes

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

MDIPanes.zip
 Size: 2.19 Mb

MDI Panes

Pane Actions

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

PaneActions.zip
 Size: 2.14 Mb

Docking Pane Actions