Partager via


IInputMethod3::Select (Compact 2013)

3/28/2014

Implement this method to create the windows and image list for the input method.

Syntax

HRESULT Select( 
  HWND hwndSip
);

Parameters

  • hwndSip
    [in] Handle to the software-based input panel (SIP) window. The input method typically creates a child window of this SIP window to access the SIP window's WindowProc function. The input method draws the entire client area of the SIP window.

Return Value

Returns S_OK to indicate success; otherwise, returns the appropriate HRESULT value to indicate that it was not successful.

Remarks

When the SIP selects this method, an input method receives the call. The input method performs any necessary initializations. The SIP calls this function during the initialization of the input method, along with IInputMethod3::GetInfo, IInputMethod3::ReceiveSipInfo, and IInputMethod3::RegisterCallback.

Requirements

Header

sip.h

Library

uuid.lib

sysgen

SYSGEN_SOFTKB

See Also

Reference

IInputMethod3
IInputMethod3::Deselect
IInputMethod3::GetInfo
IInputMethod3::Hiding
IInputMethod3::InputContextChange
IInputMethod3::ReceiveSipInfo
IInputMethod3::RegisterCallback
IInputMethod3::RegisterCallback2
IInputMethod3::RegisterCallback3
IInputMethod3::SetImData
IInputMethod3::SetIMMActiveContext
IInputMethod3::Showing
IInputMethod3::UserOptionsDlg