怎么把CFileDialog对话框的界面翻译成英文

解决方案 »

  1.   

    你在英文版的windows上运行估计就是英文的了
      

  2.   

    我想问的是中文版里怎么显示CFileDialog的英文界面。请高手指教了。
      

  3.   

    http://www.vckbase.com/code/downcode.asp?id=1550
    http://www.vckbase.com/code/downcode.asp?id=2188
    http://www.vckbase.com/code/downcode.asp?id=1619
    http://www.codeproject.com/info/search.asp?cats=2&searchkw=CFileDialog&Submit1=Search&author=&sd=11%2F15%2F1999&ed=2%2F18%2F2006
      

  4.   

    http://community.csdn.net/Expert/topic/4208/4208272.xml?temp=.220318二:重载对话框
    a)修改按钮文本
    通过重载,或设置callback
    class CFileDialogEng:public CFileDialog
    {
    public:
    void OnInitDone()
    {
    CWnd *pWnd,*pParent=GetParent();
    if(pParent)
    {
    pParent->SetWindowText(m_bOpenFileDialog?"Open":"Save as");
    #define SetEngText(id,txt) if(pWnd = pParent->GetDlgItem(id))pWnd->SetWindowText(txt)
    SetEngText(IDOK,"&OK");
    }
    }
    }
      

  5.   

    找个英文版的comctl32.dll文件放到你的应用程序路径下
    假设应用程序是abc.exe 然后再建立一个叫做abc.exe.local的文件。所有的通用对话框都是英文的了。
      

  6.   

    请问xing_xing_xing ,abc.exe.local文件写什么东西啊?什么都不写啊?
      

  7.   

    我一般的做法,自己写一个CFileDialogEx类,想要啥文字就是啥文字,毕竟替换用户系统文件从用户角度来说不是很好。