找了很多,介绍一个比较简单的,原来是MFC的我改成了非MFC的,使用方法:

   m_image = new ImageEx( L"d:\\loading.gif" );

    CRect rc;
    GetClientRect(rc);

    int cx = (rc.Width() - m_image->GetWidth()) / 2;

    m_image->InitAnimation(m_hWnd, CPoint(10,10));

 

下载地址:

  https://files.cnblogs.com/GnagWang/ImageEx.rar

相关文章:

  • 2022-12-23
  • 2021-07-24
  • 2021-10-04
  • 2021-10-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-22
  • 2021-07-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案