message
-
My class relationship is: class CViewBase::CFormView {......} class CViewLogon::CViewBase {......} CViewLogon::OnInitialUpdate() {......} i want do something in func CViewLogon::OnInitialUpdate(),but the program did not execute the func at all.in other word,i can't trace into the func CViewLogon::OnInitialUpdate(). what's up to my program? gucy
-
My class relationship is: class CViewBase::CFormView {......} class CViewLogon::CViewBase {......} CViewLogon::OnInitialUpdate() {......} i want do something in func CViewLogon::OnInitialUpdate(),but the program did not execute the func at all.in other word,i can't trace into the func CViewLogon::OnInitialUpdate(). what's up to my program? gucy
Where are you trying to invoke OnInitialUpdate? Or are you letting MFC do it. Also, check and make sure your routine declaration matches EXACTLY. If you change and argument or a return type, it won't get executed. Tim Smith I'm going to patent thought. I have yet to see any prior art.
-
Where are you trying to invoke OnInitialUpdate? Or are you letting MFC do it. Also, check and make sure your routine declaration matches EXACTLY. If you change and argument or a return type, it won't get executed. Tim Smith I'm going to patent thought. I have yet to see any prior art.
i did let mfc to do it.and i didn't change the parameter or return type. i've look up the msdn.it said the function is called when the view is first attached to the document.but my app has no document.it is a extension dll,and the view is just one of the views of the splitterwindow. Does that do something to my app? gucy