Go4Expert

Go4Expert (http://www.go4expert.com/)
-   MFC (http://www.go4expert.com/forums/mfc/)
-   -   how to draw moving object over bitmapped background in dialog (http://www.go4expert.com/forums/draw-moving-object-bitmapped-background-t22388/)

khlauster 12Jun2010 09:16

how to draw moving object over bitmapped background in dialog
 
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

shabbir 12Jun2010 10:22

Re: how to draw moving object over bitmapped background in dialog
 
Draw them in Paint Method and it would be fine when dialog is dragged.


All times are GMT +5.5. The time now is 02:03.