LTEXT "This sample application shows how to accept keyboard input and display it to the screen, so that complex scripts such as Arabic, Hebrew, and Thai are displayed correctly. These guidelines will help.",
IDC_STATIC,7,9,193,34
LTEXT "1. Use Unicode as your character encoding if the target platform is Windows NT.",
IDC_STATIC,7,44,193,19
LTEXT "2. Use an Edit control if possible. ",IDC_STATIC,7,64,
175,13
LTEXT "3. Use ExtTextOut to display all of the text at once. ",
IDC_STATIC,7,96,176,8
LTEXT "Displaying text character by character as it is entered will result in improper display of context sensitive text. To see this, invoke this application, switch the keyboard to Thai or Arabic and type. ",
IDC_STATIC,15,106,177,34
LTEXT "Note that the top row is displayed incorrectly, one character at a time. The second row is correct.",
IDC_STATIC,15,142,176,17
LTEXT "An edit control handles all complex script processing for you, so it is the easiest way to get user input and display results.",
IDC_STATIC,14,75,192,21
LTEXT "4. Don't cache character widths; use GetTextExtentExPoint.",
IDC_STATIC,7,162,193,11
LTEXT "Applications that cache character widths implicitly assume that characters always have the same width. As a result, they may measure line lengths of complex scripts incorrectly, because the width of a character depends on the surrounding characters.",
IDC_STATIC,14,175,173,41
LTEXT "The text extent functions, such as GetTextExtentPointEx, have been extended to work correctly with complex scripts.",