Frederic Naudeau
April 16th, 1999, 08:10 AM
Hi,
I would like to make my application multilingual, and for this I have done 2 string tables, one in French and one in English ( By "Insert copy").
In the OnInitialUpdate() method I'm doing something like :
::LoadString(AfxGetApp()->m_hInstance, IDS_BUTTON_TEXT, text, 512);
GetDlgItem(IDC_BUTTON)->SetWindowText(text);
But my problem is that I have always the same text. How can I change the String Table ?
How can I do something like :
LoadStringTable("string table [english (U.K.)]");
::LoadString(AfxGetApp()->m_hInstance, IDS_BUTTON_TEXT, text, 512);
GetDlgItem(IDC_BUTTON)->SetWindowText(text);
Thanks in advance.
I would like to make my application multilingual, and for this I have done 2 string tables, one in French and one in English ( By "Insert copy").
In the OnInitialUpdate() method I'm doing something like :
::LoadString(AfxGetApp()->m_hInstance, IDS_BUTTON_TEXT, text, 512);
GetDlgItem(IDC_BUTTON)->SetWindowText(text);
But my problem is that I have always the same text. How can I change the String Table ?
How can I do something like :
LoadStringTable("string table [english (U.K.)]");
::LoadString(AfxGetApp()->m_hInstance, IDS_BUTTON_TEXT, text, 512);
GetDlgItem(IDC_BUTTON)->SetWindowText(text);
Thanks in advance.