Share via


IInputMethod2::Select (Compact 2013)

3/28/2014

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 (SIP) window. The IM usually creates a child window of this SIP window to access the SIP window's WindowProc function. The IM is responsible for drawing the entire client area of the SIP 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 SIP. The IM should perform any necessary initializations. The SIP calls this function during the initialization of the IM, along with IInputMethod2::GetInfo, IInputMethod2::ReceiveSipInfo, and IInputMethod2::RegisterCallback.

Requirements

Header

sip.h

Library

uuid.lib

sysgen

SYSGEN_SOFTKB

See Also

Reference

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