不是文件,是资源名
打开resource中的BITMAP应该可以看到它!

解决方案 »

  1.   

    资源的名字,你也可以用另外的重载的函数
    BOOL LoadBitmaps( UINT nIDBitmapResource, UINT nIDBitmapResourceSel = 0, UINT nIDBitmapResourceFocus = 0, UINT nIDBitmapResourceDisabled = 0 );
    指定资源的ID就可以了。ID在Resouce View
      

  2.   

    要load文件
    请用LoadImage,fuLoad 参数指定LR_LOADFROMFILE,name指定文件路径名
      

  3.   

    MSDN 里的。BOOL LoadBitmaps( LPCTSTR lpszBitmapResource, LPCTSTR lpszBitmapResourceSel = NULL, LPCTSTR lpszBitmapResourceFocus = NULL, LPCTSTR lpszBitmapResourceDisabled = NULL );BOOL LoadBitmaps( UINT nIDBitmapResource, UINT nIDBitmapResourceSel = 0, UINT nIDBitmapResourceFocus = 0, UINT nIDBitmapResourceDisabled = 0 );Return ValueNonzero if successful; otherwise 0.ParameterslpszBitmapResourcePoints to the null-terminated string that contains the name of the bitmap for a bitmap button’s normal or “up” state. Required.lpszBitmapResourceSelPoints to the null-terminated string that contains the name of the bitmap for a bitmap button’s selected or “down” state. May be NULL.lpszBitmapResourceFocusPoints to the null-terminated string that contains the name of the bitmap for a bitmap button’s focused state. May be NULL.lpszBitmapResourceDisabledPoints to the null-terminated string that contains the name of the bitmap for a bitmap button’s disabled state. May be NULL.nIDBitmapResourceSpecifies the resource ID number of the bitmap resource for a bitmap button’s normal or “up” state. Required.nIDBitmapResourceSelSpecifies the resource ID number of the bitmap resource for a bitmap button’s selected or “down” state. May be 0.nIDBitmapResourceFocusSpecifies the resource ID number of the bitmap resource for a bitmap button’s focused state. May be 0.nIDBitmapResourceDisabledSpecifies the resource ID number of the bitmap resource for a bitmap button’s disabled state. May be 0.ResUse this function when you want to load bitmap images identified by their resource names or ID numbers, or when you cannot use the AutoLoad function because, for example, you are creating a bitmap button that is not part of a dialog box.
      

  4.   

    不是文件名.为何不用MAKEINTRESOURCE宏了!