Flicker problem with ActiveX in CFormView
-
Hi, I am using an ActiveX in CFormView The ActiveX keeps on updating its contents and the Parent(CFormView) is not aware of it, due to which the Parent displays the old contents. How do I inform the CFormView to update the change so that there is no flicker while updating the ActiveX . I get lots of flicker with InvalidateRect. Thanks, Sansky :-D John 3:16
For God so loved the world,
that he gave his only begotten Son ( Jesus Christ ) ,
that whosoever believeth in him should not perish, but have everlasting life. -
Hi, I am using an ActiveX in CFormView The ActiveX keeps on updating its contents and the Parent(CFormView) is not aware of it, due to which the Parent displays the old contents. How do I inform the CFormView to update the change so that there is no flicker while updating the ActiveX . I get lots of flicker with InvalidateRect. Thanks, Sansky :-D John 3:16
For God so loved the world,
that he gave his only begotten Son ( Jesus Christ ) ,
that whosoever believeth in him should not perish, but have everlasting life.Hi Sansky! Your activex control needs to notify its container. Normally in ATL, just call
FireViewChange
. ÿFor the bread of God is he who comes down from heaven and gives life to the world. - John 6:33