I'm trying to build a simple animation in Visual C++ .NET. I have 2 bitmaps to use. The first one is a background (that doesn't move) and I have a small bitmap that needs to move over it.
I'm not too familiar with Win32 programming, so I don't know how to tell my program (an MFC dialog box) to load and show those images.
I thought it could be in the OnPaint() function (I saw in many tutorials that they use the OnDraw(CDC *pDC) function), but since there is no CDC* element passed in argument, I have no idea how to use other functions (like BitBlt())
I'm not too familiar with Win32 programming, so I don't know how to tell my program (an MFC dialog box) to load and show those images.
I thought it could be in the OnPaint() function (I saw in many tutorials that they use the OnDraw(CDC *pDC) function), but since there is no CDC* element passed in argument, I have no idea how to use other functions (like BitBlt())