Home > Software engineering >  Ontouch function can't call, a great god!!!!!!!!!!
Ontouch function can't call, a great god!!!!!!!!!!

Time:10-08

I shard in single MFC single document application window, a View class as the default View class (such as engineering CDlg CDlgView) in a custom View class CMyView class (base class CEditView), but I in his later add CMyView class onupdata function call Invalidate () function, can't call ontouch function automatically, ontouch function can not get in to,

Void CMyEditView: : OnUpdate (pSender CView * and LPARAM lHint, CObject * pHint)
{
//TODO: Add your specialized code here and/or call the base class
//receiving data
If (lHint==1)
{
Cstrings * strTemp=(cstrings *) pHint;
StrTemp m_strReceiveData=https://bbs.csdn.net/topics/*;
Invalidate ().//mandatory update window
}
}

CodePudding user response:

Function of setting a breakpoint, see if enter function? Performs conditional meet?
  • Related