Solved

Multi-byte characters in MSFlexGrid control

Posted on 1998-08-04
1
217 Views
Last Modified: 2013-11-19
I am using the MSFlexGrid control in a C++ MFC app. When used in versions of windows which use multi-byte characters, the MB characters are not displayed correctly (they come out as ASCII jibberish). Is there a way to fix this? Or a comparable control which does handle MB characters?
0
Comment
Question by:demoney
[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
1 Comment
 
LVL 1

Accepted Solution

by:
guruprasad031298 earned 100 total points
ID: 1320247
Make sure you have turned on the _MBCS compiler directive. If you have done so and still MSFlexGrid doesn't behave properly, see whether you can load the corresponding code page. If the problem persists still, try True DBGrid control. This provides more functionality with less complexity.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

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: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

696 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