Hi,
I use CDataGrid object with ADO.
I Want to disable Updating Operation for Users only for separate Coloumn.
I used CDataGrid::SetLocked(BOOL) member function but It daesn't work.
Please Help
Thanks
In CWnd::OnCreate() I call SetSetBkMode() for CDC object
But It doesn't work
My Code is
int CMapObject::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
if (CWnd::OnCreate(lpCreateStruct) == -1)
return -1;
//..........
//..........
CClientDC dc(this); //Device context
int res =...
I have to use two Dialogs(CDialog). D1(parent) and D2(child).
I use (CWnd* pParent, it points D1) in D2 dialog constructor. And it works. But How can I call member Function from D1 in D2?????
Thanks
I have to use two Dialogs(CDialog). D1(parent) and D2(child).
I use (CWnd* pParent, it points D1) in D2 dialog constructor. And it works. But How can I call member Function from D1 in D2?????
Thanks
dear BEHZADTALA
Thank you very much but
result=m_StaffData.GetRecordset()(fname); doesn't work there is an error
'error C2064: term does not evaluate to a function'
in my code there was an error in "GetFields)" but it isn,t the reason of that error...
I have a problem with CAdodc Object.
CAdodc m_StaffData;
I Want to make same changes in CAdodc::OnWillMoveAdodc. But there's an error. Please Help.
void CStaffDetal::OnWillMoveAdodc1(long adReason, long FAR* adStatus, LPDISPATCH pRecordset)
{_variant_t fname, result;
try {...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.