Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

BitBlt a bitmap in memory

2 views
Skip to first unread message

Jack

unread,
Jan 4, 2010, 4:17:53 AM1/4/10
to
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

unread,
Jan 4, 2010, 8:16:41 AM1/4/10
to
Jack wrote:
> 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

unread,
Jan 4, 2010, 9:42:43 AM1/4/10
to

Thanks, Igor


0 new messages