Click to open or copy the files for the ComplexScript sample.
This sample application shows how to accept keyboard input and display it to the screen, so that complex scripts such as Arabic, Hebrew, Thai, and Indic are displayed correctly.
This sample uses the following keywords:
defwindowproc; getdc; getstockobject; gettextextentpoint32; lstrcpy; lstrlen; makeintresource; makelparam; message; rcmessagebox; registerclass; releasedc; selectobject; settextalign; text