Skip to main content
GameDev.net gamedev.net
🔒 Locked

Transparent BitBlt

Started by noname100 Mar 8, 2004 at 2:29 PM 4 replies 500+ views
Original Post
noname100
noname100
Would anyone know of a API function similar to a bit block transfer, but allows you to specify a transparent color not to copy?
... Yea...
Agony
Agony
Would TransparentBlt be what you''re after, assuming the Win32 API?


int main() { return *((int*)0); }
"We should have a great fewer disputes in the world if words were taken for what they are, the signs of our ideas nly, and not for things themselves." - John Locke o
Deranged
Deranged
quote:
Original post by Agony
int main() { return *((int*)0); }


ummmmmmm
noname100
noname100
quote:
Original post by Agony
Would TransparentBlt be what you''re after, assuming the Win32 API?


int main() { return *((int*)0); }


Yup, that''s exactly what I was looking for. Thanks a lot.
... Yea...
Agony
Agony
quote:
Original post by DerAnged
quote:
Original post by Agony
int main() { return *((int*)0); }


ummmmmmm



You likey?

Hope I don''t drive too many beginners crazy... :/


int main() { return *((int*)0); }
"We should have a great fewer disputes in the world if words were taken for what they are, the signs of our ideas nly, and not for things themselves." - John Locke o
TempusElf
TempusElf
quote:

Windows 95/98: TransparentBlt contains a memory leak that can exhaust system resources. To draw a transparent bitmap using BitBlt, see Knowledge Base article Q79212.



If you want your program to be compatible with older versions of windows, I highly recommend this method

also take a look at this

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.