MSDN Home >  MSDN Library >  User Interface Design and Development >  Windows Controls >  Individual Control Information >  Rich Edit Controls > 

EM_GETPUNCTUATION Message


The EM_GETPUNCTUATION message gets the current punctuation characters for the rich edit control. This message is available only in Asian-language versions of the operating system.

Syntax

To send this message, call the SendMessage function as follows.
lResult = SendMessage(     // returns LRESULT in lResult
   (HWND) hWndControl,     // handle to destination control
   (UINT) EM_GETPUNCTUATION,     // message ID
   (WPARAM) wParam,     // = (WPARAM) () wParam;
   (LPARAM) lParam     // = (LPARAM) () lParam;
);

Parameters

wParam
The punctuation type can be one of the following values.
PC_LEADING
Leading punctuation characters
PC_FOLLOWING
Following punctuation characters
PC_DELIMITER
Delimiter
PC_OVERFLOW
Not supported
lParam
Pointer to a PUNCTUATION structure that receives the punctuation characters.

Return Value

If the operation succeeds, the return value is a nonzero value.

If the operation fails, the return value is zero.


Message Information

HeaderDeclared in Richedit.h
Minimum operating systems Windows 95 (Asian version), Windows NT 4.0 (Asian version)

See Also

Rich Edit Controls, EM_SETPUNCTUATION, PUNCTUATION
 Contact Us   |  E-Mail this Page   |  MSDN Flash Newsletter
 c 2002 Microsoft Corporation. All rights reserved.   Terms of Use  Privacy Statement   Accessibility