ShowColumnsToolbar
Syntax:
BOOL
ShowColumnsToolbar (BOOL bVisible);
Return
Value: TRUE if the
operation was successful, FALSE otherwise.
Parameter: bVisible
Specifies the further visibility of the Columns
pane’s functions toolbar (0 or
1).
Remarks:
Call
this method to show / hide the
Columns pane’s functions toolbar of
ELS-QB
component.
Note:
by default (i.e while
ShowColumnsToolbar() function is not used yet) the Columns pane’s functions toolbar of
ELS-QB
component is always visible.
Example:
This
sample code shows how to allow the end user to toggle visibility of
the Columns pane’s functions
toolbar of ELS-QB
control.
void
CELS_QBDemoView::CELS_QBDemoView()
{
............................
m_bColPaneTBVisible
= TRUE;
}
//
Some command handler
void
CELS_QBDemoView::OnCommandToggleColumnsPaneTBDisplay()
{
if(m_QBCtrl.ShowQueryFilename(!m_bColPaneTBVisible))
m_bColPaneTBVisible
= ! m_bColPaneTBVisible;
}