IInputMethod::UserOptionsDlg

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

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


HRESULT UserOptionsDlg( 
  HWND hwndParent
);

hwndParent

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

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

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.

Headersip.h
Libraryuuid.lib
Windows Embedded CEWindows CE 2.01 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show: