if(   MessageBox(   "Do you want to exit? ",   " ",   MB_YESNO   |   MB_ICONQUESTION   )   ==   IDYES     )

this-> SendMessage(   WM_CLOSE   ); 
} button下写了这样的代码 但是出来的 是否 为汉字 如何改为英文

解决方案 »

  1.   

    在这之前设置SetThreadLocal为en就可以了。
      

  2.   

    MessageBoxEx();The MessageBoxEx function creates, displays, and operates a message box. The message box contains an application-defined message and title, plus any combination of predefined icons and push buttons. The buttons are in the language of the system user interface. 
      

  3.   

    SetWindowHook, 捕获这个窗口创建,然后加载你的字符串,替换MB_YES, MB_NO
      

  4.   

    ++
    另外或者你做一个类似MessageBox的对话框想显示什么语言都可以。
      

  5.   

    在这之前设置SetThreadLocal为en就可以了。