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