Solved

TRANSPARENT DIB?

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
C++ get user from AD  (VS6) 7 111
FMX TCameraComponent Problem 2 106
How to add columns to a RAD Studio FMX grid at design time 1 61
Coding for the first time 9 104
In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
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 user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

752 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