IActiveIME::Select Method     IActiveIME::SetCompositio...     IActiveIME Interface    
Web Workshop (Miscellaneous)

IActiveIME::SetActiveContext Method


Notifies the current Active Input Method Editor of the active input context.

Syntax

HRESULT SetActiveContext(
    HIMC hIMC,
    BOOL fFlag
);

Parameters

hIMC
[in] Handle to the input context.
fFlag
[in] Boolean value that specifies the status of the input context. TRUE indicates the input context is activated, and FALSE indicates the input context is deactivated.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

This method maps to the ImeSetActiveContext function documented in the Microsoft® Windows® 2000 Driver Development Kit.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.