Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

当键盘锁定被取消时可能会导致无意中将程序切换到后台

From Wiki
Jump to: navigation, search
Article Metadata

测试基于
设备:: N70, N90

兼容于
平台: S60 2nd Edition, FP2, Nokia 6630, Nokia 6680 S60 2nd Edition, FP3
Symbian

文章
关键词: CAknAppUi::SetKeyBlockMode
huwell 在 28 Jun 2007 创建
最后由 hamishwillee 在 08 May 2013 编辑
* 设备, 软件 版本: S60 2nd Edition, FP2, Nokia 6630, Nokia 6680

S60 2nd Edition, FP3, N70, N90


  • 说明:

当使用CAknAppUi::SetKeyBlockMode()取消键盘锁定功能时,一些按键的组合可能会导致程序被切换到后台。


  • 详细描述:

大部分S60游戏都会将键锁定模式取消,以便多键同时按下时不影响游戏。这可以通过调用应用程序UI(CAknAppUi)来完成:

SetKeyBlockMode(ENoKeyBlock)


在S60第二版FP2或更新的版本中,如果为键盘锁定模式取消状态,那下列按键组合被同时按下会导致程序被切换到后台:

7+8+0+*
9+0+#’


  • 解决方案:

目前没有好的解决方案,游戏设计中应该避免用户偶然按下上述按键组合。

This page was last modified on 8 May 2013, at 00:02.
50 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×