-
I am using graphical methods(BitBlt) to draw some pictures on a form. The form is in an standard exe while the method is being called from an ActiveX Dll. The problem is that I want to refresh the target window every time after a bitblt method occurs. I have tried using UpdateWindow and RedrawWindow, but it was of no help(The methods have to be called from the dll).
-
I am trying to copy picture from a source in the dll to the main exe using bitblt. after every bitblt operation ,I need to refresh the destination window so that the result of the bitblt should be displayed immediately.
-
You don't need to refresh -- as soon as it's been blitted the image will appear there. Refreshing the window will cause it to redraw itself, wiping out the recently-blitted image.
-
It isn't showing by itself. I have set the autoredraw property to true.