I have dialog based application that have some options to choose the Region. For Example US, UK, Korea. When user choose an Option than the dialog box labels and buttons message should be display in that language.
I am not working on it and don''t have any idea...
Please give me some idea about how to do this? Is there any dlls for language ??
Thanks in advance.
解决方案
This code may help you
LOGFONT lfIcon;
VERIFY(::SystemParametersInfo(SPI_GETICONTITLELOGFONT, sizeof(lfIcon), &lfIcon, 0));
lfIcon.lfWeight = FW_NORMAL;
lfIcon.lfItalic = FALSE;
VERIFY(m_pPaintManager->GetItemMetrics()->m_font Normal.CreateFontIndirect(&lfIcon));
CFont fntNormal;
fntNormal.CreateFontIndirect(&lfIcon );
this.SetFont(&fntNormal);
this code set the font of local machine to your dialog may hepl you.
Just try i have one more solution.