?
Solved

TRANSPARENT DIB?

Posted on 1998-05-25
5
Medium Priority
?
452 Views
Last Modified: 2008-02-26
How Can I realize the transparent DIB?
0
Comment
Question by:jinihl
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 600 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
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 viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

719 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