please dont rip this site Prev Next

WM_IME_COMPOSITION Overview  Group

The WM_IME_COMPOSITION message is sent to an application when the IME changes composition status as a result of a key stroke. An application should process this message if it displays composition characters itself. Otherwise, it should send the message to the IME window.

chDBCS = (WORD) wParam;
fFlags = (BOOL) lParam;

Parameters

chDBCS
DBCS character representing the latest change to the composition string.
fFlags
Change flag, indicating how the composition string or character changed. This parameter can be one or more of the following values:

GCS_COMPSTR

GCS_SETCURSORPOS

GCS_COMPATTR

GCS_RESULTSTR

GCS_COMPCLAUSE

GCS_RESULTCLAUSE

GCS_COMPREADSTR

GCS_RESULTREADSTR

GCS_COMPREADATTR

GCS_RESULTREADCLAUSE

GCS_COMPREADCLAUSE

GCR_ERRORSTR

GCS_TYPINGINFO

GCR_INFOSTR

Return Values

No return value.

Remarks

For more information about these values, see the “IME Composition String Values” table in Input Method Editor Constants.

The fFlags parameter can also be a combination of the following values:

Value

Meaning

CS_INSERTCHAR

Specifies that the given composition character should be inserted at the current insertion point. An application should display the composition character if it processes this message.

CS_NOMOVECARET

Specifies that the application must not move the caret position as a result of processing the message. For example, if an IME specifies a combination of CS_INSERTCHAR and CS_NOMOVECARET, the application should insert the given character at the current caret position but should not move caret to the next position. A subsequent WM_IME_COMPOSITION message with GCS_RESULTSTR will replace this character.

If the application has created an IME window, it should pass this message to that window. The DefWindowProc function processes this message by passing it to the default IME window.The IME window processes this message by updating its appearance based on the change flag given. An application can call ImmGetCompositionString to retrieve the new composition status.

If none of the GCS_ values are set, the message indicates that the current composition has been canceled and applications that draw the composition string should delete the string.

See Also

DefWindowProc, ImmGetCompositionString


file: /Techref/os/win/api/win32/mess/src/msg24_16.htm, 4KB, , updated: 2000/4/7 11:20, local time: 2024/11/23 21:58,
TOP NEW HELP FIND: 
18.117.99.192:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://sxlist.com/techref/os/win/api/win32/mess/src/msg24_16.htm"> WM_IME_COMPOSITION</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to sxlist.com!


Site supported by
sales, advertizing,
& kind contributors
just like you!

Please don't rip/copy
(here's why

Copies of the site on CD
are available at minimal cost.
 

Welcome to sxlist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .