Solved

TRANSPARENT DIB?

Posted on 1998-05-25
5
434 Views
Last Modified: 2008-02-26
How Can I realize the transparent DIB?
0
Comment
Question by:jinihl
  • 2
  • 2
5 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 200 total points
ID: 1164707
0
 
LVL 1

Expert Comment

by:vladimir_12345
ID: 1164708
See book:
Jeff Prosize "Programming Windows 95 with MFC", Microsoft Press,
P.803.
If you don't use MFC - at the same function names used in Win API
Good luck, Vladimir_12345


0
 

Author Comment

by:jinihl
ID: 1164709
but how can i darw transparently with over 256colors dib?
0
 

Author Comment

by:jinihl
ID: 1164710
thank for your advice....
but how can i darw transparently with over 256colors dib?
i.e. 16bit, 24bit etc -> these are how can i draw transparently?
wait your answer... please reply me a.s.a.p.  

0
 
LVL 23

Expert Comment

by:chensu
ID: 1164711
You may modify the function I provided on the question Q.10053894. Instead of manipulating the RGB values from the color palette, manipulate the RGB values directly from the bits of the DIB.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

706 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

21 Experts available now in Live!

Get 1:1 Help Now