Sip event?

  • Thread starter Thread starter Ben
  • Start date Start date
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
 
Can you catch WM_SETTINGCHANGE with the OpenNETCF ApplicationEx object and a
message filter and do what you want there?

Paul T.
 
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.
 
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
 
Back
Top