Discussion:
BitBlt a bitmap in memory
(too old to reply)
Jack
2010-01-04 09:17:53 UTC
Permalink
Dear all,
It is common to know that you can load a bitmap
from resource or from a file, is it possible to
"Blit" a bitmap from memory directly?

I've been searching the web, and only found
those 2 examples.
So thanks
Jack
Igor Tandetnik
2010-01-04 13:16:41 UTC
Permalink
Post by Jack
It is common to know that you can load a bitmap
from resource or from a file, is it possible to
"Blit" a bitmap from memory directly?
I've been searching the web, and only found
those 2 examples.
Search for "CreateCompatibleBitmap CreateCompatibleDC" - you'll find literally thosands of examples.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead. -- RFC 1925
Jack
2010-01-04 14:42:43 UTC
Permalink
Thanks, Igor

Loading...