Share via


IInputMethod::Showing (Compact 2013)

3/28/2014

This method is implemented to perform any initialization before the software-based input panel (SIP) window is displayed.

Syntax

HRESULT Showing(void); 

Return Value

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

Remarks

This method is called by the SIP when the user toggles the visible status of the SIP on. Programmatically, this occurs when the SIPF_ON flag is toggled in the SIPINFO structure. Use this method to initialize any parameters, structures, and functions that relate to displaying the IM. The IM can also use any data that was stored with a previous call to IInputMethod::Hiding to initialize the window. After this method is complete and the SIP window is shown, the window and its children, such as those created by the IM, receive WM_PAINT messages.

Requirements

Header

sip.h

Library

uuid.lib

sysgen

SYSGEN_SOFTKB

See Also

Reference

IInputMethod
WM_PAINT
IInputMethod::Hiding
SIPINFO