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. Change text over image.

Change text over image.

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestionlearning
10 Posts 2 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.
  • P Offline
    P Offline
    Purish Dwivedi
    wrote on last edited by
    #1

    In my multilingual application, there are some texts on the button in image form. How can I convert those texts in different languages? I have created resource DLLs for all static strings. Please help me with this problem. Thank You

    M 1 Reply Last reply
    0
    • P Purish Dwivedi

      In my multilingual application, there are some texts on the button in image form. How can I convert those texts in different languages? I have created resource DLLs for all static strings. Please help me with this problem. Thank You

      M Offline
      M Offline
      Madhu Nair 0
      wrote on last edited by
      #2

      Purish Dwivedi wrote:

      Please help me with this problem.

      Here is a good article[^] from Codeproject.

      P 1 Reply Last reply
      0
      • M Madhu Nair 0

        Purish Dwivedi wrote:

        Please help me with this problem.

        Here is a good article[^] from Codeproject.

        P Offline
        P Offline
        Purish Dwivedi
        wrote on last edited by
        #3

        Thanks for the reply Madhu, But there is nothing about the text incorporated in images? I don't know how to convert those images or text in those images? Can u help me to sort out this problem?

        M 1 Reply Last reply
        0
        • P Purish Dwivedi

          Thanks for the reply Madhu, But there is nothing about the text incorporated in images? I don't know how to convert those images or text in those images? Can u help me to sort out this problem?

          M Offline
          M Offline
          Madhu Nair 0
          wrote on last edited by
          #4

          Purish Dwivedi wrote:

          I don't know how to convert those images or text in those images?

          If you have the texts which can be shown as per the language changes, why do you load the bitmaps ? Is that an overhead and a performance degrader ? Sorry! :doh: I was too late to know that you where here for a bit long time with the same multilingual application[^] ... Let me clarify the problem; You have a background bitmap and you want to draw the strings[^] over it ? Why can't you try a transparent static control[^] to hold this texts ? Best of luck with the Multilingual application development.

          P 1 Reply Last reply
          0
          • M Madhu Nair 0

            Purish Dwivedi wrote:

            I don't know how to convert those images or text in those images?

            If you have the texts which can be shown as per the language changes, why do you load the bitmaps ? Is that an overhead and a performance degrader ? Sorry! :doh: I was too late to know that you where here for a bit long time with the same multilingual application[^] ... Let me clarify the problem; You have a background bitmap and you want to draw the strings[^] over it ? Why can't you try a transparent static control[^] to hold this texts ? Best of luck with the Multilingual application development.

            P Offline
            P Offline
            Purish Dwivedi
            wrote on last edited by
            #5

            the text is incorporated into image file and that file is loading on run time..

            M 1 Reply Last reply
            0
            • P Purish Dwivedi

              the text is incorporated into image file and that file is loading on run time..

              M Offline
              M Offline
              Madhu Nair 0
              wrote on last edited by
              #6

              Good! what about this idea[^] ? Or this one from Codeproject[^] itself!!!

              P 1 Reply Last reply
              0
              • M Madhu Nair 0

                Good! what about this idea[^] ? Or this one from Codeproject[^] itself!!!

                P Offline
                P Offline
                Purish Dwivedi
                wrote on last edited by
                #7

                thanks for the reply. I'm not getting any idea with these docs. I want the text or image , whatever it is, it should come from Resource DLL at the run time.

                M 1 Reply Last reply
                0
                • P Purish Dwivedi

                  thanks for the reply. I'm not getting any idea with these docs. I want the text or image , whatever it is, it should come from Resource DLL at the run time.

                  M Offline
                  M Offline
                  Madhu Nair 0
                  wrote on last edited by
                  #8

                  Purish Dwivedi wrote:

                  I want the text or image , whatever it is, it should come from Resource DLL at the run time.

                  :~ That was my first[^] reply. ;) Leave it... just forget IT; Tip of the day: In future also, It should be very helpful for you, whether you try the codes shown through the links; Download the code sample to your local machine, compile it; Read the code and try to understand how they done it.

                  P 1 Reply Last reply
                  0
                  • M Madhu Nair 0

                    Purish Dwivedi wrote:

                    I want the text or image , whatever it is, it should come from Resource DLL at the run time.

                    :~ That was my first[^] reply. ;) Leave it... just forget IT; Tip of the day: In future also, It should be very helpful for you, whether you try the codes shown through the links; Download the code sample to your local machine, compile it; Read the code and try to understand how they done it.

                    P Offline
                    P Offline
                    Purish Dwivedi
                    wrote on last edited by
                    #9

                    that's alright. but there is nothing in that project about "how to get text from image and convert it into various languages"?

                    M 1 Reply Last reply
                    0
                    • P Purish Dwivedi

                      that's alright. but there is nothing in that project about "how to get text from image and convert it into various languages"?

                      M Offline
                      M Offline
                      Madhu Nair 0
                      wrote on last edited by
                      #10

                      Purish Dwivedi wrote:

                      "how to get text from image and convert it into various languages"?

                      Well, it is still a question around the IT world :sigh: You can also take part in the researches for finding a good OCR[^] technology to achieve this. May have to spend some years to read the text from image and then another couple of years to convert this text to your convenient language. If you don't have that patience; better to change your design.

                      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