Share via


IInputMethod2::UserOptionsDlg (Windows CE 5.0)

Send Feedback

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

HRESULTUserOptionsDlg( HWND hwndParent);

Parameters

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

Return Values

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 RegisterCallback2 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

OS Versions: Windows CE 2.12 and later.
Header: Sip.h.
Link Library: Uuid.lib.

See Also

IInputMethod2::RegisterCallback2 | IInputMethod2::Select

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.