IActiveIMMApp::SetStatusW...     IActiveIMMApp::Unregister...     IActiveIMMApp Interface    
Web Workshop (Miscellaneous)

IActiveIMMApp::SimulateHotKey Method


Simulates the specified IME hot key, causing the same response as if the user had pressed the hot key in the specified window.

Syntax

HRESULT SimulateHotKey(
    HWND hWnd,
    DWORD dwHotKeyID
);

Parameters

hWnd
[in] Handle to the window.
dwHotKeyID
[in] Unsigned long integer value that contains the identifier for the IME hot key.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

This method maps to the ImmSimulateHotKey function documented in the Microsoft® Platform Software Development Kit (SDK). Non-MSDN link



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.