Click here to Skip to main content
15,919,178 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to upate one child dialog from other child dilaog? Pin
jhwurmbach25-Feb-07 23:00
jhwurmbach25-Feb-07 23:00 
GeneralRe: how to upate one child dialog from other child dilaog? Pin
amitmistry_petlad 25-Feb-07 23:13
amitmistry_petlad 25-Feb-07 23:13 
GeneralRe: how to upate one child dialog from other child dilaog? Pin
jhwurmbach25-Feb-07 23:33
jhwurmbach25-Feb-07 23:33 
QuestionDeploying VS2005 applications without administrator rights Pin
Cedric Moonen25-Feb-07 22:02
Cedric Moonen25-Feb-07 22:02 
AnswerRe: Deploying VS2005 applications without administrator rights Pin
sps-itsec4625-Feb-07 23:41
sps-itsec4625-Feb-07 23:41 
AnswerRe: Deploying VS2005 applications without administrator rights Pin
Michael Dunn26-Feb-07 10:28
sitebuilderMichael Dunn26-Feb-07 10:28 
GeneralRe: Deploying VS2005 applications without administrator rights Pin
sps-itsec4627-Feb-07 2:37
sps-itsec4627-Feb-07 2:37 
QuestionHow can I load French Stringtable Pin
dungpapai25-Feb-07 21:58
dungpapai25-Feb-07 21:58 
in older program, I used resource 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.
Ex:
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_CREATE "Create"
END
#endif // English (U.S.) resources

// 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_CREATE "Crée"
END
#endif // French (France) resources

InitDialog function:
CButton *pButtonName = (CButton *)GetDlgItem(IDC_CREATE); //create a button with ID: IDC_CREATE
m_LoadString.LoadString(IDS_STRING104); //Load stringtable
pButtonName->SetWindowText(m_LoadString); // Set button text

When I compile, button name is Create (Load English Stringtable)
Could you tell me how do I load button name is Crée (Load French Stringtable)
Please show me a solution to solve it.
Thanks a lot


Papais

AnswerWhat is the big deal? Pin
Rajesh R Subramanian25-Feb-07 22:29
professionalRajesh R Subramanian25-Feb-07 22:29 
AnswerRe: How can I load French Stringtable Pin
KaЯl27-Feb-07 4:05
KaЯl27-Feb-07 4:05 
Questionassignment operator for CDBVariant Pin
prithaa25-Feb-07 21:25
prithaa25-Feb-07 21:25 
AnswerRe: assignment operator for CDBVariant Pin
Try25-Feb-07 21:31
Try25-Feb-07 21:31 
AnswerRe: assignment operator for CDBVariant Pin
prasad_som25-Feb-07 21:38
prasad_som25-Feb-07 21:38 
GeneralRe: assignment operator for CDBVariant Pin
prithaa25-Feb-07 22:03
prithaa25-Feb-07 22:03 
AnswerRe: assignment operator for CDBVariant Pin
prasad_som25-Feb-07 22:10
prasad_som25-Feb-07 22:10 
GeneralRe: assignment operator for CDBVariant Pin
Cedric Moonen25-Feb-07 22:17
Cedric Moonen25-Feb-07 22:17 
Questionvideo compression Pin
viliam25-Feb-07 21:11
viliam25-Feb-07 21:11 
AnswerRe: video compression Pin
Russell'26-Feb-07 7:41
Russell'26-Feb-07 7:41 
AnswerRe: video compression Pin
KaЯl27-Feb-07 4:13
KaЯl27-Feb-07 4:13 
QuestionStatic Text control. Pin
Sameer_Thakur25-Feb-07 20:13
Sameer_Thakur25-Feb-07 20:13 
AnswerRe: Static Text control. Pin
prasad_som25-Feb-07 20:39
prasad_som25-Feb-07 20:39 
AnswerRe: Static Text control. Pin
Try25-Feb-07 20:59
Try25-Feb-07 20:59 
AnswerRe: Static Text control. Pin
David Crow26-Feb-07 9:11
David Crow26-Feb-07 9:11 
QuestionCString problem Pin
david bagaturia25-Feb-07 20:11
david bagaturia25-Feb-07 20:11 
AnswerRe: CString problem Pin
Nibu babu thomas25-Feb-07 20:18
Nibu babu thomas25-Feb-07 20:18 

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.