How to: Soft input panel clicking disable

  • Thread starter Thread starter Topper
  • Start date Start date
T

Topper

Hello!

How do i prevent any clicking on soft input panel(SIP) from my Win CE
application?

I whant to use application form with main menu but SIP doesn't need - may i
disable it, hide or prevent any clicking?

Thank you.
 
One of possible solution is to resize SIP to minimal size:

const string SIPWndClass = "SipWndClass";

IntPtr sip = Win32Window.FindWindow(SIPWndClass, null);
Rectangle oldSize = Win32Window.GetWindowRect(sip);
Win32Window.SetWindowPos(sip,
Win32Window.SetWindowPosZOrder.HWND_BOTTOM, 0, 0, 0, 0,
Win32Window.SetWindowPosFlags.SWP_NOZORDER);

The class Win32Window you can get here -
http://www.opennetcf.org/SourceBrow...wwroot/Source/OpenNETCF/Win32/WindowHelper.cs

Best regards,
Sergey Bogdanov
http://www.sergeybogdanov.com
 
Thank you. Ñïàñèáî.

Sergey Bogdanov said:
One of possible solution is to resize SIP to minimal size:

const string SIPWndClass = "SipWndClass";

IntPtr sip = Win32Window.FindWindow(SIPWndClass, null);
Rectangle oldSize = Win32Window.GetWindowRect(sip);
Win32Window.SetWindowPos(sip,
Win32Window.SetWindowPosZOrder.HWND_BOTTOM, 0, 0, 0, 0,
Win32Window.SetWindowPosFlags.SWP_NOZORDER);

The class Win32Window you can get here -
http://www.opennetcf.org/SourceBrow...wwroot/Source/OpenNETCF/Win32/WindowHelper.cs

Best regards,
Sergey Bogdanov
http://www.sergeybogdanov.com
 
Actually it depends on the license option chosen (whether aygshell is
included or not). It is not part of the CORE option that's for sure. Not
sure what Topper is on (could even be a PPC as he is associating MainMenu
presence with SIP presence which is not the case on WinCE but is the case on
PPC)

Cheers
Daniel
 
It has lost its momentum now but let me try it again :-)

Κι εγώ τα εχω παÏατήσει εδώ και καιÏÏŒ
 
Back
Top