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

EM_GETCTFOPENSTATUS Message


An application sends an EM_GETCTFOPENSTATUS message to determine if the Text Services Framework (TSF) keyboard is open or closed.

Syntax

To send this message, call the SendMessage function as follows.
lResult = SendMessage(     // returns BOOL in lResult
   (HWND) hWndControl,     // handle to destination control
   (UINT) EM_GETCTFOPENSTATUS,     // message ID
   (WPARAM) wParam,     // = 0; not used, must be zero
   (LPARAM) lParam     // = 0; not used, must be zero
);

Parameters

wParam
Not used; must be zero.
lParam
Not used; must be zero.

Return Value

If the TSF keyboard is open, the return value is TRUE. Otherwise, it is FALSE.

Message Information

Minimum DLL Versionmsftedit.dll
HeaderDeclared in Richedit.h
Minimum operating systems Windows XP SP1

See Also

Rich Edit Controls, EM_SETCTFOPENSTATUS
 Contact Us   |  E-Mail this Page   |  MSDN Flash Newsletter
 © 2003 Microsoft Corporation. All rights reserved.   Terms of Use  Privacy Statement   Accessibility