please dont rip this site Prev Next

ImmNotifyIME info  Overview  Group

The ImmNotifyIME function notifies the IME about changes to the status of the input context.

BOOL ImmNotifyIME(

    HIMC hIMC,

    DWORD dwAction,

    DWORD dwIndex,

    DWORD dwValue

   );

Parameters

hIMC
Handle to the input context.
dwAction
Notification code. This parameter can be one of the following values:

Value

Meaning

NI_CHANGECANDIDATELIST

An application changed the current selected candidate; dwIndex is an index of a candidate list to be selected and dwValue is not used.

NI_CLOSECANDIDATE

An application directs the IME to close a candidate list; dwIndex is the index of the list to close; dwValue is not used. The IME sends a IMN_CLOSECANDIDATE message to the application if it closes the list.

NI_COMPOSITIONSTR

An application directs the IME to carry out an action on the composition string; dwValue is not used and dwIndex can be CPS_CANCEL, CPS_COMPLETE, CPS_CONVERT, or CPS_REVERT.

NI_OPENCANDIDATE

An application directs the IME to open a candidate list; dwIndex is the index of the list to open; dwValue is not used. The IME sends a IMN_OPENCANDIDATE message to the application if it opens the list.

NI_SELECTCANDIDATESTR

An application selected one of candidates; dwIndex is an index of a candidate list to be selected and dwValue is an index of a candidate string in the selected candidate list.

NI_SETCANDIDATE_PAGESIZE

The dwIndex parameter specifies the candidate list to be changed and must have a value in the range 0 to 31.

NI_SETCANDIDATE_PAGESTART

The dwIndex parameter specifies the candidate list to be changed and must have a value in the range 0 to 31.

dwIndex
Index of a candidate list or, if dwAction is NI_COMPOSITIONSTR, one of the following values:

Value

Meaning

CPS_CANCEL

Clear the composition string and set the status to no composition string.

CPS_COMPLETE

Set the composition string as the result string.

CPS_CONVERT

Convert the composition string.

CPS_REVERT

Cancel the current composition string and revert to the unconverted string.

dwValue
Index of a candidate string or not used, depending on the value of the dwAction parameter.

Return Values

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

If the function fails, the return value is zero.


file: /Techref/os/win/api/win32/func/src/f48_6.htm, 5KB, , updated: 2000/4/7 11:19, local time: 2024/11/7 08:38,
TOP NEW HELP FIND: 
3.135.212.183:LOG IN
©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!

 ©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://massmind.org/Techref/os/win/api/win32/func/src/f48_6.htm"> ImmNotifyIME</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 massmind.org!

 

Welcome to massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .