1, I have three class, one is COffView, offline data here, and the base class is CFormView; A COnView, base class is CFormView, online data here; Third CDraw a drawing class, I asked him to inherit from CWnd class, at the time of drawing, so I'll COffView view pointer to CDraw inside, can realize the drawing, but finding a wm_paint message by redraw function at the time of response, will call COffView inside message function, if I want him to respond to my message response function of the drawing class, what should I do, or need to change frame?
CodePudding user response:
Suggest the original poster to compile the first link in debugging MSDN98 own relevant example code,MSDN98_1. ISO http://pan.baidu.com/s/1dDF41ix, MSDN98_2. ISO http://pan.baidu.com/s/1bnGo0Vl
CodePudding user response:
Drawing CDraw must be introduced into the current of DCCodePudding user response: