Syntax: BSTR GetQueryTitle();
Return Value: BSTR string object containing the title of the currently open query.
Call this method to obtain the title of the currently open query in the ELS-QB control.
This sample code shows how to use GetQueryTitle () method to update contents of some display field, showing the title of the ELS-QB Control’s currently active query.
Query title is a string that has the following format: “ConnectionName” + “ / ” + “QueryName”
void CELS_QBDemoView::OnShowQueryTitle(CCmdUI* pCmdUI)