-
MFC Picture Changing
Hello, just a few questions here.
I am righting an RPG game using the MFC dialogs, and would like to have pictures that will change for different monsters/players.
What is the easiest way to do this?
Only thing i could come up with is by adding all the pictures to the dialog and hiding/showing them when needed, but there has to be a better way.
Any help would be very much appreciated.
Thanks
-
Original poster
So,
Does no one know the answer to my problem?
I am really at a dead end here, and need some help.
Thanks again
-
maybe you should try posting this in the Windows Programming or Game Programming forum?
-
Load a seperate CBitmap for each of the picures........create a compatible dc for the window.......SelectObject the Bitmap you want
On the OnPaint handler, BitBlt the created dc onto the CPaintDC...