Solved

TRANSPARENT DIB?

Posted on 1998-05-25
5
437 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

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

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

895 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

19 Experts available now in Live!

Get 1:1 Help Now