GetDetailMItem
Syntax:
BOOL
GetDetailMItem (BOOL bEnable);
Return
Value: TRUE if the
operation was successful, otherwise FALSE.
Parameters:
bEnable Specifies whether to enable / disable (e.g. 1 / 0) the GetDetails menu item in the popup menu triggered from the DB Browser pane.
Remarks:
Call
this method to enable / disable the GetDetails menu item in the popup menu
triggered from the DB Browser pane.
So that the end-user will not be able to acquire detailed information about the
internal structure of any database.
Note:
If this method is never called, the GetDetails menu item is enabled by
default.
Example:
This
sample code illustates how in the OnInitialUpdate() of the host application to prevent end
user from Viewing details of the object selected in Database Browser pane of
ELS-QB control.
void
CELS_QBDemoView::OnInitialUpdate()
{
// Some
initalization code
............................
m_QBCtrl.GetDetailMItem (FALSE);
............................
}