By random bitmaps, i assume that you have 52 pre-defined bitmaps? If so, you can
1. make an array of cbitmaps
2. Generate a random number between 0 and 51
3. Load that bitmap
CBitmap::LoadBitmap(RESOURCE_ID) should work fine
Or you can load the bitmap into a picture control if the cards are in a fixed position.
Matt