how to draw moving object over bitmapped background in dialog

khlauster's Avatar
Newbie Member
Hi, experts!

I need a working code sample with animated objects in dialog application:
user clicks on button1 and object1(bitmap)1 moves to some point in dialog
then user clicks on button 2 and other object2(bitmap2) moves to some point in dialog
Both objects must remain independently on dialog’s background and not getting erased after dialog is dragged off screen or other drawings took a place in the same application
VC 6.0

Thank you for your help in advance
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Draw them in Paint Method and it would be fine when dialog is dragged.