如题

解决方案 »

  1.   

    除了GetBitmapDimension().这玩意要自己设置的,还不用像素做单位.真郁闷~
      

  2.   

    CBitmap bmp;
    BITMAP bm;
    bmp.GetBitmap(&bm);
    bm中有你想要的东东
      

  3.   

    The BITMAP structure defines the height, width, color format, and bit values of a logical bitmap. typedef struct tagBITMAP {  /* bm */
       int bmType;
       int bmWidth;
       int bmHeight;
       int bmWidthBytes;
       BYTE bmPlanes;
       BYTE bmBitsPixel;
       LPVOID bmBits;
    } BITMAP;