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. ATL / WTL / STL
  4. ToolTip text in WTL

ToolTip text in WTL

Scheduled Pinned Locked Moved ATL / WTL / STL
c++helptutoriallearning
3 Posts 3 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.
  • S Offline
    S Offline
    SelvaKr
    wrote on last edited by
    #1

    Hi All I am working on a localization project. I am trying to localize the Tool tips of the Tool bar buttons that are coming in English. Tool tips are specified in the resource as direct strings in the prompt field of the properties. Can you please advice me on how to refer the strings from String Table instead. Any help is appreciated. Thanks in advance.

    Selva

    C A 2 Replies Last reply
    0
    • S SelvaKr

      Hi All I am working on a localization project. I am trying to localize the Tool tips of the Tool bar buttons that are coming in English. Tool tips are specified in the resource as direct strings in the prompt field of the properties. Can you please advice me on how to refer the strings from String Table instead. Any help is appreciated. Thanks in advance.

      Selva

      C Offline
      C Offline
      Cool_Dev
      wrote on last edited by
      #2

      Insert new 'String Table' resource. Add your strings to it. Use LoadString function to get the strings.

      1 Reply Last reply
      0
      • S SelvaKr

        Hi All I am working on a localization project. I am trying to localize the Tool tips of the Tool bar buttons that are coming in English. Tool tips are specified in the resource as direct strings in the prompt field of the properties. Can you please advice me on how to refer the strings from String Table instead. Any help is appreciated. Thanks in advance.

        Selva

        A Offline
        A Offline
        Alain Rist
        wrote on last edited by
        #3

        Hi Selva,

        SelvaKr wrote:

        Tool tips are specified in the resource as direct strings in the prompt field of the properties.

        The VC resource editor intends to help you to create toolbar tooltips, they are actually in the resource stringtable. For instance in your .rc file you have:

        STRINGTABLE
        BEGIN
        ID_FILE_NEW "Create a new document\nNew"

        A toolbar button's tooltip is the part of the string resource with same ID following '\n'. As the part preceding '\n' is the status bar text when a menu entry with same ID is hovered you can localize the strings matching your menus and toolbars in one step. cheers, AR

        When the wise (person) points at the moon the fool looks at the finger (Chinese proverb)

        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