Log in

View Full Version : How to create UserOptionsDlg in SIP?????


Huu Quynh
08-06-2002, 10:05 AM
:?: Hello,

I met a problem in coding. I don't know how to create UserOptionsDlg in my IM. I read some info in "Programming Microsoft Windows CE" by Douglas Boling, he said that should display a dialog box allows the user to configure any settable parameters in the input method, and he use this code below for his demostration:

HRESULT STDMETHODCALLTYPE MyIInputMethod::UserOptionsDlg(HWND hwndParent)
{

MessageBox(hwndParent, TEXT("UserOptionsDlg called"), TEXT("NumPanel"), MB_OK);

return S_OK;
}

This code is simple, but it does not run. I use it and wait, but nothing appears, no dialog shows.

If you had been create your own UserOptionsDlg success, please tell me your methods.

My SIP base on NumPanel example from "Programming Microsoft Windows CE" by Douglas Boling. So this project is not use MFC!

Thank you very much!