Click here to Skip to main content
15,905,612 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: need help Pin
KarstenK3-Jul-07 20:59
mveKarstenK3-Jul-07 20:59 
QuestionText Direction Pin
Try3-Jul-07 20:09
Try3-Jul-07 20:09 
AnswerRe: Text Direction Pin
G Haranadh3-Jul-07 20:36
G Haranadh3-Jul-07 20:36 
GeneralRe: Text Direction Pin
Try3-Jul-07 20:54
Try3-Jul-07 20:54 
AnswerRe: Text Direction Pin
KarstenK3-Jul-07 21:13
mveKarstenK3-Jul-07 21:13 
GeneralRe: Text Direction Pin
Try3-Jul-07 22:59
Try3-Jul-07 22:59 
AnswerRe: Text Direction Pin
Matthew Faithfull4-Jul-07 4:35
Matthew Faithfull4-Jul-07 4:35 
AnswerRe: Text Direction (Long) Pin
Matthew Faithfull4-Jul-07 23:03
Matthew Faithfull4-Jul-07 23:03 
Below is the table of range beginings for UNICODE character ranges. I'm not sure where we got these from if it wasn't the UNICODE Consortium then it was probably Microsoft.
You'll notice there are 3 ranges for Arabic. One for the stand alone letter forms and 2 for the joined/shaped forms. Your users will usually be typing the stand alone letter forms so you'll want to use the ScriptShape API to turn the string into presentation form before you display it or they will no doubt get upset Sigh | :sigh: (On XP+ DrawText will do this for you) On the other hand they may copy and paste text that's already in presentation form into your app OMG | :OMG: It these lovely little things that make Arabic text entry so much fun Big Grin | :-D

#define USR1_BASICLATIN 0x0000000000000001ui64
#define USR1_LATIN1SUPPLEMENT 0x0000000000000002ui64
#define USR1_LATINEXTENDEDA 0x0000000000000004ui64
#define USR1_LATINEXTENDEDB 0x0000000000000008ui64
#define USR1_IPAEXTENSIONS 0x0000000000000010ui64
#define USR1_SPACINGMODIFIERS 0x0000000000000020ui64
#define USR1_COMBININGDIACRITICALMARKS 0x0000000000000040ui64
#define USR1_GREEKCOPTIC 0x0000000000000080ui64
#define USR1_RESERVED1 0x0000000000000100ui64
#define USR1_CYRILLIC 0x0000000000000200ui64
#define USR1_ARMENIAN 0x0000000000000400ui64
#define USR1_BASICHEBREW 0x0000000000000800ui64
#define USR1_RESERVED2 0x0000000000001000ui64
#define USR1_BASICARABIC 0x0000000000002000ui64
#define USR1_RESERVED3 0x0000000000004000ui64
#define USR1_DEVANAGARI 0x0000000000008000ui64
#define USR1_BENGALI 0x0000000000010000ui64
#define USR1_GURMUKHI 0x0000000000020000ui64
#define USR1_GUJARATI 0x0000000000040000ui64
#define USR1_ORIYA 0x0000000000080000ui64
#define USR1_TAMIL 0x0000000000100000ui64
#define USR1_TELUGU 0x0000000000200000ui64
#define USR1_KANNADA 0x0000000000400000ui64
#define USR1_MALAYALAM 0x0000000000800000ui64
#define USR1_THAI 0x0000000001000000ui64
#define USR1_LAO 0x0000000002000000ui64
#define USR1_GEORGIAN 0x0000000004000000ui64
#define USR1_RESERVED4 0x0000000008000000ui64
#define USR1_HANGULJAMO 0x0000000010000000ui64
#define USR1_LATINEXTENDEDADDITIONAL 0x0000000020000000ui64
#define USR1_GREEKEXTENDED 0x0000000040000000ui64
#define USR1_GENERALPUNCTUATION 0x0000000080000000ui64
#define USR1_SUBSCRIPTSSUPERSCRIPTS 0x0000000100000000ui64
#define USR1_CURRENCYSYMBOLS 0x0000000200000000ui64
#define USR1_COMBININGDIACRITICALMARKSFORSYMBOLS 0x0000000400000000ui64
#define USR1_LETTERLIKESYMBOLS 0x0000000800000000ui64
#define USR1_NUMBERFORMS 0x0000001000000000ui64
#define USR1_ARROWS 0x0000002000000000ui64
#define USR1_MATHEMATICAL 0x0000004000000000ui64
#define USR1_MISCTECHNICAL 0x0000008000000000ui64
#define USR1_CONTROLPICTURES 0x0000010000000000ui64
#define USR1_OCR 0x0000020000000000ui64
#define USR1_ENCLOSEDALPHANUMERICS 0x0000040000000000ui64
#define USR1_BOXDRAWING 0x0000080000000000ui64
#define USR1_BLOCKELEMENTS 0x0000100000000000ui64
#define USR1_GEOMETRICSHAPES 0x0000200000000000ui64
#define USR1_MISCSYMBOLS 0x0000400000000000ui64
#define USR1_DINGBATS 0x0000800000000000ui64
#define USR1_CJKSYMBOLSPUNCTUATION 0x0001000000000000ui64
#define USR1_HIRAGANA 0x0002000000000000ui64
#define USR1_KATAKANA 0x0004000000000000ui64
#define USR1_BOPOMOFO 0x0008000000000000ui64
#define USR1_HANGULCOMPATIBILITYJAMO 0x0010000000000000ui64
#define USR1_RESERVED5 0x0020000000000000ui64
#define USR1_ENCLOSEDCJKLETTERSMONTHS 0x0040000000000000ui64
#define USR1_CJKCOMPATIBILITY 0x0080000000000000ui64
#define USR1_HANGUL 0x0100000000000000ui64
#define USR1_SURROGATES 0x0200000000000000ui64
#define USR1_RESERVED6 0x0400000000000000ui64
#define USR1_CJKUNIFIEDIDEOGRAPHS 0x0800000000000000ui64
#define USR1_PRIVATEUSE 0x1000000000000000ui64
#define USR1_CJKCOMPATIBILITYIDEOGRAPHS 0x2000000000000000ui64
#define USR1_ALPHABETICPRESENTATIONFORMS 0x4000000000000000ui64
#define USR1_ARABICPRESENTATIONFORMSA 0x8000000000000000ui64
#define USR2_COMBININGHALFMARKS 0x0000000000000001ui64
#define USR2_CJKCOMPATIBILITYFORMS 0x0000000000000002ui64
#define USR2_SMALLFORMVARIANTS 0x0000000000000004ui64
#define USR2_ARABICPRESENTATIONFORMSB 0x0000000000000008ui64
#define USR2_HALFWIDTHANDFULLWIDTHFORMS 0x0000000000000010ui64
#define USR2_SPECIALS 0x0000000000000020ui64
#define USR2_TIBETAN 0x0000000000000040ui64
#define USR2_SYRIAC 0x0000000000000080ui64
#define USR2_THAANA 0x0000000000000100ui64
#define USR2_SINHALA 0x0000000000000200ui64
#define USR2_MYANMAR 0x0000000000000400ui64
#define USR2_ETHIOPIC 0x0000000000000800ui64
#define USR2_CHEROKEE 0x0000000000001000ui64
#define USR2_CANADIANABORIGINALSYLLABICS 0x0000000000002000ui64
#define USR2_OGHAM 0x0000000000004000ui64
#define USR2_RUNIC 0x0000000000008000ui64
#define USR2_KHMER 0x0000000000010000ui64
#define USR2_MONGOLIAN 0x0000000000020000ui64
#define USR2_BRAILLE 0x0000000000040000ui64
#define USR2_YI 0x0000000000080000ui64
#define USR2_TAGALOG 0x0000000000100000ui64


Nothing is exactly what it seems but everything with seems can be unpicked.

GeneralRe: Text Direction (Long) Pin
Try4-Jul-07 23:24
Try4-Jul-07 23:24 
QuestionInterview question Pin
tasumisra3-Jul-07 20:06
tasumisra3-Jul-07 20:06 
AnswerRe: Interview question Pin
G Haranadh3-Jul-07 20:27
G Haranadh3-Jul-07 20:27 
GeneralRe: Interview question Pin
tasumisra3-Jul-07 21:25
tasumisra3-Jul-07 21:25 
QuestionCross application process Handle Pin
SNI3-Jul-07 20:05
SNI3-Jul-07 20:05 
AnswerRe: Cross application process Handle Pin
Stephen Hewitt3-Jul-07 20:11
Stephen Hewitt3-Jul-07 20:11 
GeneralRe: Cross application process Handle Pin
SNI3-Jul-07 20:18
SNI3-Jul-07 20:18 
GeneralRe: Cross application process Handle Pin
Stephen Hewitt3-Jul-07 20:21
Stephen Hewitt3-Jul-07 20:21 
GeneralRe: Cross application process Handle Pin
SNI3-Jul-07 20:29
SNI3-Jul-07 20:29 
GeneralRe: Cross application process Handle Pin
Stephen Hewitt3-Jul-07 20:35
Stephen Hewitt3-Jul-07 20:35 
GeneralRe: Cross application process Handle Pin
SNI3-Jul-07 20:44
SNI3-Jul-07 20:44 
GeneralRe: Cross application process Handle Pin
Stephen Hewitt3-Jul-07 20:48
Stephen Hewitt3-Jul-07 20:48 
GeneralRe: Cross application process Handle Pin
SNI3-Jul-07 21:10
SNI3-Jul-07 21:10 
GeneralRe: Cross application process Handle Pin
Naveen3-Jul-07 21:10
Naveen3-Jul-07 21:10 
GeneralRe: Cross application process Handle [modified] Pin
SNI3-Jul-07 23:46
SNI3-Jul-07 23:46 
QuestionFind computers Pin
IMANTHA3-Jul-07 19:38
IMANTHA3-Jul-07 19:38 
AnswerRe: Find computers Pin
Naveen3-Jul-07 20:03
Naveen3-Jul-07 20:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.