<< Click to Display Table of Contents >> Using the VPE ActiveX in a CFormView derived class |
Q: | If I use the VPE ActiveX in a CFormView derived class, the control is not updated after a call to CFormView::Invalidate() or CDocument::UpdateAllViews(). |
A: | Set the style of the dialog resource containing the VPE ActiveX to "Clip Children" (do not change the style in PreCreateWindow()). You can also call CVpeControl::UpdateWindow() in the overridden CFormView::OnUpdate() method. |