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