use function LoadImage(...);

解决方案 »

  1.   

    HANDLE LoadImage(
      HINSTANCE hinst,   // handle to instance
      LPCTSTR lpszName,  // name or identifier of the image
      UINT uType,        // image type
      int cxDesired,     // desired width
      int cyDesired,     // desired height
      UINT fuLoad        // load options
    );
    看看MSDN就行了。
      

  2.   

    最好是LoadImage,你要是bmp的话,也可LoadBitmap()
      

  3.   

    如何得到 handle to instance