All Editions
Related Functions
Example
The IN_GetLanguageString function returns a translated string from the language table that is being used by Imagenation.
Syntax
int IN_GetLanguageString ( langTableID, stringID, maxSize, pString )
|
Input Parameters |
Meaning |
|
IN_LANG_TABLE langTableID |
identifier of the auxiliary language table to query. The identifier was assigned by IN_RegisterLanguageTable. |
|
ULONG stringID |
identifier of the string to retrieve |
|
USHORT maxSize |
the maximum size of the pString array in bytes |
|
Meaning | |
|
CHARPTR pString |
pointer to the string of user interface text that was retrieved |
Remarks
Spicer's Lingo program produces language tables. This program also produces an include file with a set of defines and string IDs in it. From this file, you get the stringID value to use.
Release information
Added to Imagenation for Windows in Release 4.42.
As of Release 5.1, also available in Imagenation for UNIX.
See also