>Hi , how can i load a bitmap image using VC++ and then display in a file

If you're using MFC, then take a look at CBitmap::LoadBitmap() (for a bitmap
in your resources) or ::LoadImage() + CBitmap::Attach() (for a bitmap in a
file). This gets it loaded.

Assuming you mean display on the screen ("in a window"?), take a look at
CDC::BitBlt(). However, blitting an image to a window is a clumsy affair - I
wrote CBitmapDC to handle all that memory DC stuff for you, see
http://www.beginthread.com/Article/Jason%20Teagle/CBitmapDC%20Helper%20Class
/

--
Jason Teagle
[EMAIL PROTECTED]



_______________________________________________
msvc mailing list
[EMAIL PROTECTED]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription 
changes, and list archive.

Reply via email to