Click here to Skip to main content
16,013,642 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Bold font in CTreeCtrl truncates text Pin
anderslundsgard9-Nov-04 21:46
anderslundsgard9-Nov-04 21:46 
GeneralRe: Bold font in CTreeCtrl truncates text Pin
Ted Ferenc9-Nov-04 21:54
Ted Ferenc9-Nov-04 21:54 
GeneralRe: Bold font in CTreeCtrl truncates text Pin
Robert M Greene10-Nov-04 8:17
Robert M Greene10-Nov-04 8:17 
Generaldetecting internet enabled program Pin
Anonymous9-Nov-04 20:39
Anonymous9-Nov-04 20:39 
GeneralBlueTooth question Pin
eli150219799-Nov-04 20:32
eli150219799-Nov-04 20:32 
GeneralRe: BlueTooth question Pin
Andrew Walker9-Nov-04 23:05
Andrew Walker9-Nov-04 23:05 
GeneralBlueTooth question Pin
eli150219799-Nov-04 20:29
eli150219799-Nov-04 20:29 
Generaldisplay korean characters inside mfc dialog box Pin
virtualweb9-Nov-04 20:11
virtualweb9-Nov-04 20:11 
Hello,

This question regards localization of an mfc application.

I create a base project from the MFC wizard in either Visual C++ 6.0 or .Net. On the 2nd page of the wizard I am asked what language I would like my resources to be in. I select Korean( For version 6.0 Korean must be added manually as it is not a default entry). I click Next to the remaining pages constructing a Multiple Document Interface (MDI).

I execute the application and see all the menu resources in Korean characters which is what I want. When I click on the About box of the sample application I have created, the dialog appears with ?? marks where the Korean characters should be displayed.

I understand in the resource editor of Visual C++ that it is limited to ascii characters and therefore I cannot view any of the korean characters from within the resource editor.

I am compiling the project with the default option of _MBCS ( Multi byte character set).
If I convert this preprocessor option to _UNICODE, the menus and the dialog resources are both displayed in korean. The problem is I need it to work with _MBCS.

I don't understand why the application when using _MBCS can display menus correctly (ie. in Korean characters) but displays dialog resources such as Text labels and buttons with question marks. It is as though it has only been half implemented.

I really need to be able to get the project to display using the _MBCS preprocessor as I will eventually need to display Korean characters in a large project and do not wish to convert it to unicode.(big job).

I have changed the font of the dialog to various fonts such as Gulim ( Korean supported font) also the virtual font 'Ms Shell Dlg 2'.

Thank you to everyone who can explaing to me what I am doing wrong or missing as to why a standard run of the mill MFC Wizard application only displays Korean characters in all the menu's but not in Dialog's or Frame resources.


Thank you very much
Virtualweb

QuestionHow to create Barchart ? Pin
pubududilena9-Nov-04 20:02
pubududilena9-Nov-04 20:02 
AnswerRe: How to create Barchart ? Pin
David Crow10-Nov-04 4:08
David Crow10-Nov-04 4:08 
GeneralRe: How to create Barchart ? Pin
pubududilena10-Nov-04 17:27
pubududilena10-Nov-04 17:27 
Generalplz help!!!!! Pin
namaskaaram9-Nov-04 20:01
namaskaaram9-Nov-04 20:01 
GeneralRe: plz help!!!!! Pin
ThatsAlok9-Nov-04 22:24
ThatsAlok9-Nov-04 22:24 
GeneralRe: plz help!!!!! Pin
namaskaaram10-Nov-04 18:51
namaskaaram10-Nov-04 18:51 
Generalmfc... Pin
bektek9-Nov-04 19:06
bektek9-Nov-04 19:06 
GeneralRe: mfc... Pin
peterchen9-Nov-04 20:05
peterchen9-Nov-04 20:05 
GeneralRe: mfc Pin
pc_dev9-Nov-04 20:18
pc_dev9-Nov-04 20:18 
GeneralRe: mfc Pin
dada_buley9-Nov-04 20:42
dada_buley9-Nov-04 20:42 
GeneralRe: mfc Pin
John R. Shaw10-Nov-04 7:02
John R. Shaw10-Nov-04 7:02 
GeneralThanks all... Pin
bektek9-Nov-04 20:43
bektek9-Nov-04 20:43 
GeneralRe: mfc Pin
Robert M Greene10-Nov-04 8:20
Robert M Greene10-Nov-04 8:20 
GeneralNotification about system shutdown Pin
Vancouver9-Nov-04 17:50
Vancouver9-Nov-04 17:50 
GeneralRe: Notification about system shutdown Pin
ThatsAlok9-Nov-04 18:18
ThatsAlok9-Nov-04 18:18 
GeneralRe: Notification about system shutdown Pin
Vancouver9-Nov-04 18:26
Vancouver9-Nov-04 18:26 
GeneralTrapping keystrokes globally Pin
Vancouver9-Nov-04 17:40
Vancouver9-Nov-04 17:40 

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.