all MFC know it alls look here!

Started by
2 comments, last by Phil_b 22 years, 10 months ago
I am a semi deacent user of MFC dialogs, and I want to know how to anmate BMP files, like having the BMP move across the dialog. And I would like to know how to get the BMP to change when there is interaction, such as when it hits another BMP or when its clicked. Can this be done with ActiveX controls, or does it require DirectX. As I know this can''t be explained in a few sentences, please give me a link to a tutorial on this, or be a cool person and write me one for my website, you will be given full recognition. http://geocities.com/programrealm Thanks: Phil Breiding
visit http://geocities.com/programrealm
Advertisement
Actually, the effect can be realized in straight MFC/Win32. You know that you can add Images to your dialog boxes in code; those Image objects have modifiable properties, so you can alter their positions and iterate through a series of frames as desired. You''d need to do your own bounding-box collision or whatever. I''m at work so I can''t write anything up, but if I have the time I might later.

The more common solution to dialog box animation needs is to create an AVI and place it (as a CAnimateCtrl) on the dialog box. Look into that as well - that''s what they''re for.

Maa gbadun!
Thanx, If anybody is able to produce a tutorial on displaying a BMP file and moving it, or just have some source of it, send it to fstvansk8a@hotmail.com or talk to me on ICQ 62803078 or AIM globalsk8a or PALTALK lphil_bl , i am look for as many resources as possible for my page, said above.
visit http://geocities.com/programrealm
Hi!
I cannot help you since I've started with mfc for a few months now, but check out --->

codeguru

That's the other site that I visit most after GD.
I'm sure you can find what you are looking for, and if you don't, try the forums, they answer really fast....

That's weird you know... in that site everybody is on the visual C forum while their "lounge" is deserted ... oposite to GD... mmh...

oro...?

Edited by - sketchturner on June 28, 2001 3:57:35 PM
SKeTch

This topic is closed to new replies.

Advertisement