Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Save bitmap.

Status
Not open for further replies.

klawes

Technical User
Joined
Apr 28, 2003
Messages
6
Location
SE
Hi Folks!!

I've a problem, it sounds like this; I want to save a bmp-file into the computers memory (RAM), and then show it in a specified area(HWND hBmp) in my program. Before I show it I do some painting Rectangle(); etc.
Is there any kind of function that can solve it??

Thanks in advance!!
 
LoadBitmap
CreateCompatibleDC
SelectObject
BitBlt

Stick your "other drawing functions" anywhere, before you call BitBlt

P.S. I suggest you steer away of using names like [tt]HWND hBmp[/tt]. Most people will assume that hBmp is a bitmap handle of type HBITMAP. Just a suggestion...

I REALLY hope that helps.
Will
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top