How to Implement Right to Left text in C++/MFC

  • Thread starter Thread starter Tom North
  • Start date Start date
T

Tom North

Guest
I have a rudimentary editor which I am building as a get-to-know C++ and the Visual Studio 2008 (Professional) IDE. The editor works fine in English (in a primitive sort of way), but I would like to implement right-to-left reading for Hebrew documents. I have set a menu entry for RTL through the resources file, and I have an auto-generated event function for each option (ie right to left / left to right). The menu items are grayed out when I am running the editor.

I am stumped as to how to implement this option - no doubt as a result of my novice status in both the language and the environment. I have searched high and low in reference books, google, etc. but I have not been able to see an example of how to implement the RTL feature in C++ and an MFC application environment (forms are straightforward).

Any and all suggestions/directions greatly appreciated!

Continue reading...
 
Back
Top