Determines whether another pane can be dynamically inserted between this pane and the parent frame.


virtual BOOL DoesAllowDynInsertBefore() const;

Return Value

TRUE if a user can insert another pane; otherwise FALSE.


The framework calls this method to determine whether a user can dynamically insert a pane before this pane.

For example, suppose your application creates a pane docked at the left side of the frame (such as the Outlook bar). To prevent the user from docking another pane to the left of the first pane, override this method and return FALSE.

We recommend that you override this method and return FALSE for non-floating panes derived from CDockablePane Class.

The default implementation returns TRUE.


Header: afxbasepane.h

See Also

CBasePane Class
Hierarchy Chart