Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 227
  • Last Modified:

Multi-byte characters in MSFlexGrid control

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
demoney
Asked:
demoney
1 Solution
 
guruprasad031298Commented:
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now