Click here to Skip to main content
15,913,570 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: First Parameter of Microsoft Defined Structures: Design Question Pin
Michael Dunn25-Feb-07 19:06
sitebuilderMichael Dunn25-Feb-07 19:06 
GeneralRe: First Parameter of Microsoft Defined Structures: Design Question Pin
Gupta Suraj25-Feb-07 19:43
Gupta Suraj25-Feb-07 19:43 
AnswerRe: First Parameter of Microsoft Defined Structures: Design Question Pin
ThatsAlok25-Feb-07 19:51
ThatsAlok25-Feb-07 19:51 
QuestionPictograph analasys Pin
Waldermort25-Feb-07 18:00
Waldermort25-Feb-07 18:00 
Questionmenu bar problem Pin
Sunshine Always25-Feb-07 17:33
Sunshine Always25-Feb-07 17:33 
QuestionHow can I select direct StringTable to load on to dialog interface Pin
dungpapai25-Feb-07 15:16
dungpapai25-Feb-07 15:16 
AnswerRe: How can I select direct StringTable to load on to dialog interface Pin
Rajesh R Subramanian25-Feb-07 18:34
professionalRajesh R Subramanian25-Feb-07 18:34 
GeneralRe: How can I select direct StringTable to load on to dialog interface Pin
dungpapai25-Feb-07 19:40
dungpapai25-Feb-07 19:40 
brahmma wrote:
What have you done till now and what is that you are unable to do?

Former my program, I used dll to load resource French. but now, I don't want to use dll. I want to use string table to support multilingual. use "String Tables" instead of creating a new set of Dialogs for each supported language. String Tables are to support multiple languages.
I have created 2 stringtables (French and English):
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
IDS_ABOUTBOX "&About TestStringTable..."
IDS_TEST "This is test about dialog load string table"
IDS_CREATE "Create"
END
#endif // English (U.S.) resources
//French:
// French (France) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FRA)
#ifdef _WIN32
LANGUAGE LANG_FRENCH, SUBLANG_FRENCH
#pragma code_page(1252)
#endif //_WIN32

// String Table
//

STRINGTABLE DISCARDABLE
BEGIN
IDS_ABOUTBOX "&About TestStringTable..."
IDS_TEST "C'est essai au sujet de table de corde de charge de dialogue"
IDS_CREATE "Crée"
END

#endif // French (France) resources
In InitDialog function, I load button text is IDS_CREATE. If English is selected, button text is Create and if French is selected, button text is Crée.
Please show me a solution to solve it.
Thanks a lot



Papais

AnswerRe: How can I select direct StringTable to load on to dialog interface Pin
Hamid_RT25-Feb-07 19:40
Hamid_RT25-Feb-07 19:40 
GeneralRe: How can I select direct StringTable to load on to dialog interface Pin
dungpapai25-Feb-07 19:43
dungpapai25-Feb-07 19:43 
QuestionMFC 7 in studio 2005, #region possible? Pin
Greg Ellis25-Feb-07 11:30
Greg Ellis25-Feb-07 11:30 
AnswerRe: MFC 7 in studio 2005, #region possible? Pin
Mark Salsbery25-Feb-07 11:44
Mark Salsbery25-Feb-07 11:44 
GeneralRe: MFC 7 in studio 2005, #region possible? Pin
Greg Ellis25-Feb-07 11:56
Greg Ellis25-Feb-07 11:56 
AnswerRe: MFC 7 in studio 2005, #region possible? Pin
Andre xxxxxxx25-Feb-07 12:36
Andre xxxxxxx25-Feb-07 12:36 
GeneralRe: MFC 7 in studio 2005, #region possible? Pin
Mark Salsbery26-Feb-07 7:22
Mark Salsbery26-Feb-07 7:22 
Questionhow to find a file in one folder Pin
zhangguoliming25-Feb-07 10:18
zhangguoliming25-Feb-07 10:18 
AnswerRe: how to find a file in one folder Pin
bob1697225-Feb-07 17:37
bob1697225-Feb-07 17:37 
AnswerRe: how to find a file in one folder Pin
Hamid_RT25-Feb-07 19:21
Hamid_RT25-Feb-07 19:21 
AnswerRe: how to find a file in one folder Pin
ThatsAlok25-Feb-07 19:50
ThatsAlok25-Feb-07 19:50 
Questionimage capturing using webcam Pin
mannur25-Feb-07 8:49
mannur25-Feb-07 8:49 
AnswerRe: image capturing using webcam Pin
Mark Salsbery25-Feb-07 10:13
Mark Salsbery25-Feb-07 10:13 
QuestionHow To Build Docked Windows in Visual C++ 2003 Pin
webHamlet25-Feb-07 8:15
webHamlet25-Feb-07 8:15 
QuestionDefines Pin
Makakuin25-Feb-07 6:58
Makakuin25-Feb-07 6:58 
AnswerRe: Defines Pin
toxcct25-Feb-07 7:04
toxcct25-Feb-07 7:04 
AnswerRe: Defines Pin
bob1697225-Feb-07 7:56
bob1697225-Feb-07 7:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.