Partager via


IInputMethod2::Select

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method is implemented to create the windows and image list for the input method (IM).

Syntax

HRESULT Select( 
  HWND hwndSip
);

Parameters

  • hwndSip
    Handle to the software-based input panel window. The IM usually creates a child window of this software-based input panel window to access the software-based input panel window's WindowProc function. The IM is responsible for drawing the entire client area of the software-based input panel window.

Return Value

Return S_OK to indicate success. Return the appropriate HRESULT value to indicate failure.

Remarks

An IM receives this call when it has been selected by the software-based input panel. The IM should perform any necessary initializations. The software-based input panel calls this function during the initialization of the IM, along with GetInfo, ReceiveSipInfo, and RegisterCallBack.

Requirements

Header sip.h
Library uuid.lib
Windows Embedded CE Windows CE 2.12 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

IInputMethod2::GetInfo
IInputMethod2::ReceiveSipInfo
IInputMethod2::RegisterCallback