Programming VC AppWizard generated WIN32 application means that you are completely naked the raw roughness of WIN32 APIs; if you want to use MFC, you won't use this type of application, right?CFileDialog encapsulates the following WIN32 APIs:
  GetOpenFileName
  GetSaveFileName
  *struct OPENFILENAMECColorDialog:
  ChooseColor
  *struct CHOOSECOLORCFileFind:
  FindFirstFile
  FindNextFile
  *struct WIN32_FIND_DATAFind/Replace dialogs:
  FindText
  ReplaceText
  *struct FINDREPLACE

解决方案 »

  1.   

    (edyang 泪流满面,痛哭流涕,声闻九霄;桌子上放了几瓶剧毒药丸...)
    呜呜,本来以为用英语写好一些,不用敲汉字那么麻烦,谁知也丢三拉四,我已经不可救药了。
    (下面是 edyang 的最后遗言,用来订正上面的发言的第一段)Programming VC AppWizard generated WIN32 applications means that you are completely naked in face of the raw roughness of WIN32 APIs; if you want to use MFC, you won't use this type of application, right?
      

  2.   


    当然有啦。
    去MSDN查一下这几个结构及函数的帮助:OPENFILENAME
    LPOPENFILENAMEBOOL GetOpenFileName(  LPOPENFILENAME lpofn );
    BOOL GetSaveFileName(  LPOPENFILENAME lpofn );具体示例在MSDN的搜索栏中敲入GetOpenFileName,然后会有一个OPEN.C的检索项/
    你慢慢看吧。
    BugKiller 小辉 2000-10-20==============================================小辉程序员之路 http://www.ChinaITHero.com
    一个程序员的真实情感
    一个程序员的风雨经历 
    一个程序员的编程经验
    ……==============================================