IActiveIMMApp::NotifyIME ...     IActiveIMMApp::RegisterWo...     IActiveIMMApp Interface    
Web Workshop (Miscellaneous)

IActiveIMMApp::OnDefWindowProc Method


Replaces the DefWindowProc function.

Syntax

HRESULT OnDefWindowProc(
    HWND hWnd,
    UINT Msg,
    WPARAM wParam,
    LPARAM lParam,
    LRESULT *plResult
);

Parameters

hWnd
[in] Handle to the window procedure that received the message.
Msg
[in] Unsigned integer that specifies the message.
wParam
[in] WPARAM value that specifies additional message information.
lParam
[in] LPARAM value that specifies additional message information.
plResult
[out] Address of an LRESULT value that receives the result of the operation.

Return Value

Returns S_OK if successful, or an error code otherwise.

Remarks

This method must be called before you would normally call DefWindowProc. If IActiveIMMApp::OnDefWindowProc returns S_FAIL, DefWindowProc should be called.



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.