CONTROL "Edit Control &Font", 1005, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 124, 105, 62, 19
CONTROL "Right click in the edit control to enter Unicode control characters and see other options", -1, STATIC, SS_CENTER | SS_CENTERIMAGE | SS_SUNKEN | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_GROUP, 7, 7, 285, 36
CONTROL "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.", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 7, 9, 193, 34
CONTROL "1. Use Unicode as your character encoding if the target platform is Windows NT.", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 7, 44, 193, 19
CONTROL "2. Use an Edit control if possible. ", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 7, 64, 175, 13
CONTROL "3. Use ExtTextOut to display all of the text at once. ", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 7, 96, 176, 8
CONTROL "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. ", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 15, 106, 177, 34
CONTROL "Note that the top row is displayed incorrectly, one character at a time. The second row is correct.", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 15, 142, 176, 17
CONTROL "An edit control handles all complex script processing for you, so it is the easiest way to get user input and display results.", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 14, 75, 192, 21
CONTROL "4. Don't cache character widths; use GetTextExtentExPoint.", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 7, 162, 193, 11
CONTROL "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.", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 14, 175, 173, 41
CONTROL "The text extent functions, such as GetTextExtentPointEx, have been extended to work correctly with complex scripts.", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 13, 222, 193, 21
CONTROL "CSTEXT, a sample application illustrating how to display complex scripts such as Arabic, Hebrew or Thai.", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 7, 7, 172, 22