Click to See Complete Forum and Search --> : it must be easy. CBitmat from a bmp file??


May 3rd, 1999, 09:41 AM
I can load a Cbitmap objet from a resource, but how can i load a CBitmap Object from a bmp file?? i thin i%

May 3rd, 1999, 09:56 AM
HBITMAP hBitmap = (HBITMAP)::LoadImage(AfxGetInstanceHandle(), bitmapPath, IMAGE_BITMAP, 0, 0, LR_CREATEDIBSECTION | LR_LOADFROMFILE);

CBitmap m_Bitmap;
if(hBitmap%

Walid Dankar
May 3rd, 1999, 10:39 AM
Please is there any way to write arabic applications.
I tried to name the buttons in arabic , but on execution they didn't work


W.D.