Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. MessageBox French

MessageBox French

Scheduled Pinned Locked Moved C / C++ / MFC
helpdesigntutorial
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    dungpapai
    wrote on last edited by
    #1

    I have a project with UI language is English. I have to support french language for my project. I have 1 problem and i think you can help me. UI has done. I have a problem: MessageBox. Buttons on the my MessageBox are OK - Cancel but in the French are OK - Annuler. I using MB_OKCANCEL. I have not solution for this problem (from OK-Cancel to OK-Annuler). Example Please help me soon! Thank you very much Papai's And please say me about PleaMessageBoxIndirect. with sample. Thanks and I sorry to inconvenience. Software Engineer

    C F S 3 Replies Last reply
    0
    • D dungpapai

      I have a project with UI language is English. I have to support french language for my project. I have 1 problem and i think you can help me. UI has done. I have a problem: MessageBox. Buttons on the my MessageBox are OK - Cancel but in the French are OK - Annuler. I using MB_OKCANCEL. I have not solution for this problem (from OK-Cancel to OK-Annuler). Example Please help me soon! Thank you very much Papai's And please say me about PleaMessageBoxIndirect. with sample. Thanks and I sorry to inconvenience. Software Engineer

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      These buttons depends on the language installed for windows. So it is not dependent of your application but rather of the language of windows. If you install your program on a french windows, the buttons will be in french.


      Cédric Moonen Software developer
      Charting control

      1 Reply Last reply
      0
      • D dungpapai

        I have a project with UI language is English. I have to support french language for my project. I have 1 problem and i think you can help me. UI has done. I have a problem: MessageBox. Buttons on the my MessageBox are OK - Cancel but in the French are OK - Annuler. I using MB_OKCANCEL. I have not solution for this problem (from OK-Cancel to OK-Annuler). Example Please help me soon! Thank you very much Papai's And please say me about PleaMessageBoxIndirect. with sample. Thanks and I sorry to inconvenience. Software Engineer

        S Offline
        S Offline
        Sarath C
        wrote on last edited by
        #3

        Oneway to is to define two string table one is for french and another one in english see the sample snippet #define LANG_FRENCH

        CMyDialog::OnInitDialog()
        {
        CString strText;
        #ifdef LANG_FRENCH
        LoadString(ID_OK_FRNCH);
        #else LANG_FRENCH
        LoadString(ID_OK_ENG);
        SetDlgItemText(IDB_OK,strText
        }

        remove the definition, if you wanna support english SaRath.
        "It is your attitude, not your aptitude, that determines your altitude - Zig Ziglar." My Blog | Understanding State Pattern in C++

        1 Reply Last reply
        0
        • D dungpapai

          I have a project with UI language is English. I have to support french language for my project. I have 1 problem and i think you can help me. UI has done. I have a problem: MessageBox. Buttons on the my MessageBox are OK - Cancel but in the French are OK - Annuler. I using MB_OKCANCEL. I have not solution for this problem (from OK-Cancel to OK-Annuler). Example Please help me soon! Thank you very much Papai's And please say me about PleaMessageBoxIndirect. with sample. Thanks and I sorry to inconvenience. Software Engineer

          F Offline
          F Offline
          FarPointer
          wrote on last edited by
          #4

          try :-MessageBoxEx Regards, FarPointer Blog:FARPOINTER

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups