Share via


EM_SETSYMBOLS

Send Feedback

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 Values

Returns TRUE on success and FALSE on failure.

Remarks

If Predicative Text is not supported by Smartphone, 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)
{
    if (!SendMessage(hWnd, EM_SETSYMBOLS, 0, (LPARAM)_T("./@?")))
    {
        DEBUGMSG(1, (_T("Could not change symbols for window 0x%X.\r\n"),hWnd));
        return FALSE;
    }
    return TRUE;
}

Requirements

Smartphone: Windows Mobile 2003 and later.
OS Versions: Windows CE 3.0 and later.
Header: windowsm.h.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.