BCGControlBar Pro for MFC
CBCGPTasksPane::CBCGPTasksPane ( )

Constructs a CBCGPTasksPane object.

The task pane control is not created until you call Create. See CBCGPControlBar::Create for more information.

Example

Copy
BOOL CMainFrame::CreateTaskPane()
{
if (!m_wndTaskPane.Create(this, WS_CHILD | WS_VISIBLE | CBRS_RIGHT | CBRS_HIDE_INPLACE | WS_CAPTION, ID_VIEW_TASKPANE))
{
TRACE0("Failed to create task pane\n");
return FALSE; //fail to create
}
return TRUE;
}