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
help
5 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

    Now. I have to change messagebox to (OK - Cancel) to the French language. In source English use MB_OKCANCEL. I have to change MB_OKCANCEL to another to my messagebox have 2 buttons: OK - Annuler Please help me Software Engineer

    M F J 3 Replies Last reply
    0
    • D dungpapai

      Now. I have to change messagebox to (OK - Cancel) to the French language. In source English use MB_OKCANCEL. I have to change MB_OKCANCEL to another to my messagebox have 2 buttons: OK - Annuler Please help me Software Engineer

      M Offline
      M Offline
      Milton Karimbekallil
      wrote on last edited by
      #2

      Messagebox caption will change automatically according to the OS default language. You can use custom messagebox ur own to change the language. cheers..milton kb

      1 Reply Last reply
      0
      • D dungpapai

        Now. I have to change messagebox to (OK - Cancel) to the French language. In source English use MB_OKCANCEL. I have to change MB_OKCANCEL to another to my messagebox have 2 buttons: OK - Annuler Please help me Software Engineer

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

        More level of customization can be done by using a windowshook for WH_CBT and traping the HCBT_ACTIVATE. Regards, FarPointer Blog:http://farpointer.blogspot.com/

        1 Reply Last reply
        0
        • D dungpapai

          Now. I have to change messagebox to (OK - Cancel) to the French language. In source English use MB_OKCANCEL. I have to change MB_OKCANCEL to another to my messagebox have 2 buttons: OK - Annuler Please help me Software Engineer

          J Offline
          J Offline
          James R Twine
          wrote on last edited by
          #4

          I think that you can use MessageBoxIndirect(...) to specify a different Language ID to use for the text on the standard button(s).    It looks like MessageBoxEx(...) can be used, but I do not think the "cross-language" functionality is implemented in it.    Peace! -=- James


          If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
          Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
          DeleteFXPFiles & CheckFavorites (Please rate this post!)

          D 1 Reply Last reply
          0
          • J James R Twine

            I think that you can use MessageBoxIndirect(...) to specify a different Language ID to use for the text on the standard button(s).    It looks like MessageBoxEx(...) can be used, but I do not think the "cross-language" functionality is implemented in it.    Peace! -=- James


            If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
            Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
            DeleteFXPFiles & CheckFavorites (Please rate this post!)

            D Offline
            D Offline
            dungpapai
            wrote on last edited by
            #5

            Thanks to all for helps. I love you and thank you very much! Software Engineer

            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