Solved

CBitmap & CImageList

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

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…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

758 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

17 Experts available now in Live!

Get 1:1 Help Now