fdialog.m_ofn.lpstrFilter = "所有文件(*.*)\0*.bmp;*.tga;*.pcx;*.jpg;*.jpeg;*.gif\0"

                            "BMP(*.bmp)\0*.bmp\0"
                            "TGA(*.tga)\0*.tga\0"
                            "PCX(*.pcx)\0*.pcx\0"
                            "JPEG(*.jpg,*.jpeg)\0*.jpg;*.jpeg\0"
                            "GIF(*.gif)\0*.gif\0";

 

lpstrFilter类型为LPCSTR tagOFN,很多教程的设置是面向高版本,无法正常运行。

"Chart Files (*.xlc)|*.xlc|Worksheet Files (*.xls)|*.xls|Data File (*.xlc;*.xls)|*.xlc;*.xls|All Files (*.*)|*.*||"

相关文章:

  • 2021-11-14
  • 2021-11-09
  • 2022-12-23
  • 2022-12-23
  • 2021-12-03
  • 2021-11-07
  • 2021-10-31
  • 2021-07-08
猜你喜欢
  • 2021-06-05
  • 2022-12-23
  • 2021-11-06
  • 2022-01-01
  • 2022-12-23
  • 2022-12-23
  • 2022-01-03
相关资源
相似解决方案