• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Stock Tooltips in C gauges

Messages
10
Country
france
Hello gents
I'm a kind of Brontosaurus who makes gauges for CFS2, for several years now.
I used up to last year the FS2KSDK, but was provided last year with the FS750 gauges header, so I can now add tooltips to my gauges.
I succeed in "cloning" the stock tooltips with dynamics and statics tooltips (many thanks Dai Griffith for your wonderfull tutorial, I couldn't have suceeded in anythink without it)
You could say it's the same, but no, it is not translated in other languages.
So, how to set up the stock tooltips?

By advance, many thanks for your attention
Cheers
Martin
 
Have you downloaded sd2gau39? There's a section in this update about how to create dynamic tooltips the easy way, not the official way. I deleted that section because the 'official way' was very clumsy. If you want both dynamic and static tooltips in other languages, the way I do it is to

1. Have all of the required tooltip names in a different text file for each language and load them as a resource into the project
2. Assign a string variable to each tooltip e.g. the airspeed indicator could be 'ASISpeedTooltip' and code the project using the variables. Do both static and dynamic tooltips this way
3. Identify the language in use by reading the localisation data in the registry
4. Read in the relevant language file and assign the language to the tooltips e.g. strncpy(ASISpeedTootip, <tooltip language>, strlen(<tooltip language>));

Using this method I recently completed a project for a museum that required English, French, Irish, German and Spanish for the aircraft in P3D.
 
Many thanks for your answer Dai
The link to the sd2gau39 is dead on the resources section in this forum, but I would be happy to have a look at it.
I'm not a programmer of any computer language, and as you predicted in your tuto, I often suffer a lot, but I'm obstinate and sometimes it can help.
I hoped for a simple solution, but will try.
Cheers
Martin
 
The link to the sd2gau39 is dead on the resources section in this forum
That's because the idiot behind this keyboard managed to delete it (sigh). Fixed. The latest version can usually be found in the Avsim library too.
 
Back
Top