Share via


CMFCTasksPane::EnableNavigationToolbar

Enables or disables the navigation toolbar.

void EnableNavigationToolbar(
    BOOL bEnable = TRUE,
    UINT uiToolbarBmpRes = 0,
    CSize sizeToolbarImage = CSize(0,0),
    CSize sizeToolbarButton = CSize(0,0)
);

Parameters

  • [in] bEnable
    TRUE to enable the navigation toolbar; otherwise, FALSE.

  • [in] uiToolbarBmpRes
    Specifies the resource ID of the bitmap that contains the images to display on the toolbar.

  • [in] sizeToolbarImage
    Specifies the size of a toolbar image.

  • [in] sizeToolbarButton
    Specifies the size of a toolbar button.

Remarks

The navigation toolbar is a toolbar that the framework displays at the top of the task pane. The navigation toolbar contains the Back, Forward, and Home navigation buttons and a menu button that contains the list of available pages.

By default, the framework does not display the navigation toolbar. If the navigation toolbar is not displayed, the navigation buttons are located on the caption of the docking bar.

Requirements

Header: afxTasksPane.h

See Also

Reference

CMFCTasksPane Class

Hierarchy Chart