如何将软件输入面板(键盘)移动到Windows Mobile屏幕底部?
我试图将键盘移至屏幕底部以隐藏 Windows Mobile 5/6 上默认显示的 35px 菜单栏。我见过的所有关于修改菜单栏的示例都涉及隐藏按钮“MS_SIPBUTTON”。我的问题分为两部分:
如何将键盘在屏幕上向下移动 35 像素?
并且,“MS_SIPBUTTON”在哪里定义?
I'm trying to move the keyboard to the bottom of the screen to hide the 35px menu bar that it shows by default on windows mobile 5/6. All of the examples I've seen about modifying the menu bar deal with hiding the button "MS_SIPBUTTON". The two parts of my question are:
How can I move the keyboard down 35 pixels on the screen?
And, where is "MS_SIPBUTTON" defined?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
部分:
我移动键盘的最佳方法是从 pinvoke.net 引用的 Windows API 调用集合
第一 一堆 DllImport 语句:
接下来是一些常量和变量:
用于显示和隐藏页面底部显示的 SIP 按钮的函数。它们在我的构造函数和析构函数中被调用
,这样我们就需要将键盘向下移动到屏幕底部:
当您想显示键盘时,请执行以下操作:
当您想隐藏它时,请执行以下操作:
第二部分:
我能够使用 CE Remote Tools/Windows CE Remote Spy 发现上面引用的窗口的名称。可执行文件是“ccspy.exe”
Part one:
The best way I could muster to move the keyboard was a collection of Windows API calls all referenced from pinvoke.net
First a bunch of DllImport statements:
Next some constants and variables:
Functions for showing and hiding the SIP button that displays at the bottom of the page. They are called in my constructor and destructor
With that out of the way we need to move the keyboard down to the bottom of the screen:
When you want to show the keyboard do some thing like this:
When you want to hide it do this:
Part two:
I was able to discover the names of windows referenced above using CE Remote Tools/Windows CE Remote Spy. The executable is "ccspy.exe"