Message Translation

Although applications generally use the same window class, messages between windows of different classes are transparently translated by the system.

Even though a window function is implemented to receive messages in Unicode or ANSI format, the window procedure can still send messages or call functions of either type.

The following messages have text arguments and are subject to automatic text translation. (For information about automatic translation, see Subclassing and Automatic Message Translation.)

CB_ADDSTRING WM_ASKCBFORMATNAME
CB_DIR WM_CHAR
CB_FINDSTRING WM_CHARTOITEM
CB_GETLBTEXT WM_CREATE
CB_INSERTSTRING WM_DEADCHAR
CB_SELECTSTRING WM_DEVMODECHANGE
WM_GETTEXT
EM_GETLINE WM_MDICREATE
EM_REPLACESEL WM_MENUCHAR
EM_SETPASSWORDCHAR WM_NCCREATE
WM_SETTEXT
LB_ADDFILE WM_SYSCHAR
LB_ADDSTRING WM_SYSDEADCHAR
LB_DIR WM_WININICHANGE
LB_FINDSTRING
LB_GETTEXT
LB_INSERTSTRING
LB_SELECTSTRING