| BOOL CBCGPTranslateManager::SetTranslation | ( | UINT | uiXMLResID, |
| HINSTANCE | hinstRes = NULL, |
||
| LPCTSTR | lpszResType = _T("BCGP_TRANSLATE_XML"), |
||
| BOOL | bAdd = FALSE |
||
| ) |
Loads a new translation from the XML resources
| uiXMLResID | Specifies the XML resource ID. |
| hinstRes | Specifies an instance of the resource DLL. |
| lpszResType | The translation resource type. "BCGP_TRANSLATE_XML" by default. |
| bAdd | Specifies whether the translation should be added to the current translation. If this parameter is FALSE, all previously loaded translations will be deleted. |