CMFCOutlookBarPane::Create

Creates the Outlook bar pane.

virtual BOOL Create(
   CWnd* pParentWnd,
   DWORD dwStyle=AFX_DEFAULT_TOOLBAR_STYLE,
   UINT uiID=(UINT)-1,
   DWORD dwControlBarStyle=0 
);

Parameters

  • [in] pParentWnd
    Specifies the parent window of the Outlook bar pane control. Must not be NULL.

  • [in] dwStyle
    The window style. For a list of window styles, see Window Styles.

  • [in] uiID
    The control ID. Must be unique to enable saving of the control's state.

  • [in] dwControlBarStyle
    Specifies special styles that define the behavior of the Outlook bar pane control when it is detached from the Outlook bar.

Return Value

TRUE if the method was successful; otherwise FALSE.

Remarks

To construct a CMFCOutlookBarPane object, first call the constructor, and then call Create, which creates the Outlook bar pane control and attaches it to the CMFCOutlookBarPane object.

For more information about dwControlBarStyle see CBasePane::CreateEx.

Requirements

Header: afxoutlookbarpane.h

See Also

Reference

CMFCOutlookBarPane Class

Hierarchy Chart