CMFCOutlookBar::DoesAllowDynInsertBefore
Specifies whether a user can dock a pane at the outer edge of the Outlook bar.
DECLARE_MESSAGE_MAP virtual BOOL DoesAllowDynInsertBefore() const;
Return Value
The default implementation returns FALSE.
Remarks
The framework calls the DoesAllowDynInsertBefore method when it looks for a location to dock a dynamic pane. If the function returns FALSE, the framework does not allow the docking of any dynamic pane at the outer edges of the pane.
Usually, you create an Outlook bar as a static non-floating control. You can override this function in a derived class and return TRUE to change this behavior.
Nota
Because dynamic panes check the status of docked static panes when docking, you should dock dynamic panes after static panes whenever possible.
Requirements
Header: afxoutlookbar.h