ToolTip text in WTL
-
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
-
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
Insert new 'String Table' resource. Add your strings to it. Use LoadString function to get the strings.
-
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
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)