|
-
Apr 8th, 2001, 09:15 PM
#1
Thread Starter
PowerPoster
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).
-
Apr 10th, 2001, 10:07 PM
#2
Thread Starter
PowerPoster
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.
-
Apr 10th, 2001, 10:09 PM
#3
Monday Morning Lunatic
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.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Apr 10th, 2001, 10:56 PM
#4
Thread Starter
PowerPoster
It isn't showing by itself. I have set the autoredraw property to true.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|