Solved

CBitmap & CImageList

Posted on 1999-01-14
3
458 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Perl Awk Need Help 3 109
Expand macro to ask for filename column 8 37
Excel Use VBA to get user's Mac Address for their computer 5 114
method notes when mouse over in eclipse 5 83
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
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.

867 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now