Hey friends
i am trying to display a large bitmap . using following segment. but it returns a null handle if bmp file is greater than 4500by 4500, otherwise it works fine.
how can i load a large bmp file around 20 MB. i am confused , help me plz
hdcroi = GetDC(hwnd1);
hBaseBitmap = CreateDIBitmap(hdcroi, (LPBITMAPINFOHEADER) &pBmpInfor->bmiHeader,
CBM_INIT, pBits, (LPBITMAPINFO) pBmpInfor, DIB_RGB_COLORS );



LinkBack URL
About LinkBacks


