简体   繁体   中英

Unable to hide SIP menu bar when showing and re-hiding SIP

I have a Windows Mobile 6 solution where I'm trying to hide the bottom bar. I have my own button to display the SIP (it's larger and easier for the user to click on than the standard one). This brings up the SIP fine and I'm using MoveWindow to move the keyboard down so that it's on the bottom of the screen: SIP图像显示在屏幕底部

However when I try to restore the window back when hiding the SIP the standard keyboard appears: 我不想要的SIP键盘图片

I'm using the code found elsewhere on stackoveflow: How do you move software input panel (keyboard) to bottom of windows mobile screen? but can't get it fully working due to problem above.

OK. Finally cracked this. I needed to use SetWindowPos using SWP_NOACTIVATE and not MoveWindow. MoveWindow was somehow changing the enabled state of the SIP causing issues.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM