Solved

Changing the default system codepage for CEdit control

Posted on 1998-10-29
2
273 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
not able to insert into temp table 68 178
WinWaitActive parameters 12 31
My project did see openJDK that I installed. What could be the problem 7 170
Sed question 2 139
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
Suggested Courses

734 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