Sip event?

B

Ben

I am creating a .net cf application that uses a sip. I need to adjust
the form (move it up or down) based on whether or not the sip is
visible. Since the InputPanel class of cf is unmanaged, I am calling
the API of coredll in order to change the state of the sip.

However, I do not know if there is a way for me to access an event that
tells me whether or not the sip is visible. I thought that a hook may
work, but it appears that cf does not support this. Any ideas for how
to tell when the state of the sip changes?

Thanks in advance.

- Ben
 
P

Paul G. Tobey [eMVP]

Can you catch WM_SETTINGCHANGE with the OpenNETCF ApplicationEx object and a
message filter and do what you want there?

Paul T.
 
P

Paul G. Tobey [eMVP]

In fact, read the help item "Programming a Software-Based Input Panel" in
the Windows CE.NET 4.2 help. It shows what a C program would do about
WM_SETTINGCHANGE and WM_IM_INFO. I think that you should be able to do
those things in a message filter.

Paul T.
 
B

Ben

Thanks Paul,

Yes, this is exactly what I want to do. But I do not know how to
handle WM_SETTINGCHANGE and WM_IM_INFO in vb.net. How do you implement
a message filter in vb.net.

- Ben
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top