ITransactions::InvokeCancelTransactionDlg

Salesmate +

No parameters

Method description

It is used to invoke the Cancel Transaction Dialog

Example code

CComPtr<ITransactions>m_Transaction; 
HRESULT hr=m_Transaction.CoCreateInstance(CLSID_Transactions);
if(FAILED(hr))
{
  AfxMessageBox(_T(""Transaction Settings Failed""));
  return FALSE;
} 
if(E_FAIL==m_Transaction->InvokeCancelTransactionDlg())
{  
  AfxMessageBox(_T(""Access denied""));
}

(C) 1999-2001 My Company All rights reserved