Solved

Changing the default system codepage for CEdit control

Posted on 1998-10-29
2
263 Views
Last Modified: 2013-11-20
How could I change the default system codpage to associate a new one and a certain font to a CEdit control to be able to enter Russian characters for example?
0
Comment
Question by:kghazi
2 Comments
 
LVL 1

Accepted Solution

by:
Bridge earned 100 total points
ID: 1323976
_setmbcp()
0
 

Expert Comment

by:pbidkar
ID: 1323977
Use setlocale
//code excerpt
setlocale(LC_ALL, "German");
.Do whatever you want here
//Set the locale back to the default environment
setlocale(LC_ALL, "C");
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Unix / Linux grid computing 5 127
Separate files macro - Errors on larger data set 18 56
bigDiff challenge 17 75
mapBully challenge 6 89
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now