Solved

CBitmap & CImageList

Posted on 1999-01-14
3
469 Views
Last Modified: 2013-11-20
I'm interested in making a simple card game and wonder if CBitmap or CImageList classes would be enough to do the job? If yes, would some one tell me about a book or a tutorial on the net that might help me in learning these two classes? I tried to read the MS documentation but couldn't understand it.

 Thank you in advance.
Yours,
Ray
rjeraq@zdnetmail.com
0
Comment
Question by:rjeraq
3 Comments
 

Author Comment

by:rjeraq
ID: 1327664
Edited text of question
0
 
LVL 4

Expert Comment

by:nil_dib
ID: 1327665
Look at http://www.codeguru.com/bitmap/index.shtml 
for Bitmap (CBitmap derived) classes and sample code.
0
 
LVL 23

Accepted Solution

by:
chensu earned 50 total points
ID: 1327666
You may get a shortcut here. There is a sample in the Platform SDK that implements a CCardDraw class. Although it is an ActiveX control, you may extract what you need.

"This sample ActiveX Control implements a standard playing card, with the ability to show the standard 52 card deck, 2 jokers, and 13 different card backs. This control is a Windowless control, which uses transparency to create the missing card corner effect."

It is under
Visual C++ Documentation\Samples\SDK Samples\COM Samples\Alternative ActiveX Control Development Framework Samples\BaseCtl: ActiveX Control Development Framework\Card: Windowless ActiveX Control

0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
MFC Dialog 9 49
Folder Comparison 12 54
WinWaitActive parameters 12 31
matchUp  challenge 6 64
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question