iDialogType in Long type
Method description
Invoke the Custom Sales Menu dialogExample code
CComPtr<ISmpOEM>
SmpOEM;
CComPtr<ISmpOEM> SmpOEM;
CString strSalesMenuCheckBox="True" ;
if(strSalesMenuCheckBox
== "True")
{
SmpOEM->put_InvokeCustomSalesDlg(ID_SALES_ADD_NEW_STOCK_ITEM ,TRUE);
}
else
{
SmpOEM->put_InvokeCustomSalesDlg(ID_SALES_ADD_NEW_STOCK_ITEM ,FALSE);
}
if(strSalesMenuCheckBox == "True")
{
SmpOEM->put_InvokeCustomSalesDlg(ID_SALES_ADD_NEW_STOCK_ITEM ,TRUE);
}
else
{
SmpOEM->put_InvokeCustomSalesDlg(ID_SALES_ADD_NEW_STOCK_ITEM ,FALSE);
}