Share via


EM_SETSYMBOLS

4/8/2010

The EM_SETSYMBOLS message sets symbols that are displayed when the user presses the 1 key in Multi-press mode.

Syntax

EM_SETSYMBOLS 
    wParam = (WPARAM)res;
    lParam = (LPARAM)SzSymbol;

Parameters

  • res
    This parameter is reserved for future use; the value of this parameter must be set to 0.
  • SzSymbol
    Specifies a null-terminated string that contains the symbols to be set. This can be NULL to revert to standard symbols.

Return Value

Returns TRUE on success and FALSE on failure.

Remarks

If Predicative Text is not supported by Windows Mobile Standard, the system will use Multi-press mode (EIM_SPELL) as the default.

Code Example

The following code example demonstrates how to use EM_SETSYMBOLS.

Note

To make the following code example easier to read, security checking and error handling are not included. This code example should not be used in a release configuration unless it has been modified to include them.

BOOL EMSETSYMBOLSExample(HWND hWnd)
{
    {
        DEBUGMSG(1, (_T("Could not change symbols for window 0x%X.\r\n"),hWnd));
        return FALSE;
    }
    return TRUE;
}

Requirements

Header windowsm.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Smartphone for Windows Mobile 2003 and later