ShowQueryFilename 

Syntax:             BOOL ShowQueryFilename(BOOL bShow);

Return Value:    TRUE if the operation was successful, FALSE otherwise.

Parameters:

                        bShow       Specifies the further visibility of the filename display (0 or 1).

Remarks:

Call this method to show / hide the query filename display.

Note:  If this method is never called, the query filename is shown by default.

Example:

This sample code shows how to allow the end user to toggle  filename displayfield of ELS-QB control.

void CELS_QBDemoView::OnInitialUpdate()

{

............................

............................

m_bShowQueryFileName = TRUE;

m_QBCtrl.ShowQueryFilename(m_bShowQueryFileName);

}

// Some command handler

void CELS_QBDemoView::OnCommandToggleQueryFileNameDisplay()

{

if(m_QBCtrl.ShowQueryFilename(!m_bShowQueryFileName))

m_bShowQueryFileName = !m_bShowQueryFileName;

}