iMenuType in Long type
Method description
Invoke the Custom File Menu dialogExample code
CComPtr<ISmpOEM>
SmpOEM;
CString strFileMenuCheckBox="True";
if(strFileMenuCheckBox
== "True")
{
SmpOEM->put_InvokeCustomFileMenuDlg(ID_FILE_BACKUPDATABASE ,TRUE);
}
else
{
SmpOEM->put_InvokeCustomFileMenuDlg(ID_FILE_BACKUPDATABASE ,FALSE);
}
if(strFileMenuCheckBox == "True")
{
SmpOEM->put_InvokeCustomFileMenuDlg(ID_FILE_BACKUPDATABASE ,TRUE);
}
else
{
SmpOEM->put_InvokeCustomFileMenuDlg(ID_FILE_BACKUPDATABASE ,FALSE);
}