Share via


IInputMethod::UserOptionsDlg

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method is implemented when the user requests that an input method (IM)-specific options dialog box be presented.

Syntax

HRESULT UserOptionsDlg( 
  HWND hwndParent
);

Parameters

  • hwndParent
    [in]Handle to the window that should be the parent of the dialog box window created by the IM.

Return Value

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

Remarks

Through this method, the user can directly configure settings within the IM. This method differs significantly in context from the other methods in the IInputMethod interface for the following reasons:

  • It is called by the software-based input panel control panel dialog box after instantiating a new instance of the IM; it is not called on the software-based input panel thread.
  • It is called without other initialization methods, such as RegisterCallback or Select, being called first.
  • The current IM instance is unloaded immediately after calling UserOptionsDlg.

The User Options dialog box sets registry or other persistent configuration information for the IM. This information is used by the IM when it is selected into the software-based input panel.

Requirements

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

See Also

Reference

IInputMethod::RegisterCallback
IInputMethod::Select