MFC program error

  • Thread starter Thread starter Mark Gera
  • Start date Start date
M

Mark Gera

Guest
Error 3 error C2660: 'SetDlgItemTextA' : function does not take 2 arguments e:\vc_program\debug\mfc_custom_message3\mfc_custom_message3dlg.cpp 104


i am getting this error for this code


afx_msg LRESULT OnCreatePortfolio(WPARAM w1,LPARAM l1)
{
CString *str=(CString *)w1;
SetDlgItemText(IDC_EDIT1, *str);

return 0;
}


Please help

Continue reading...
 
Back
Top