?
Solved

CBitmap & CImageList

Posted on 1999-01-14
3
Medium Priority
?
499 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 100 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

807 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