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. Thanks for all your past and future contributions.


From Wiki
Jump to: navigation, search
Article Metadata

User:Jiangbaolan 在 02 Apr 2009 创建
最后由 hamishwillee 在 15 Dec 2011 编辑

你可以通过如下方式来改变按钮: 定义一个资源

Code: RESOURCE CBA r_my_cba

  {   buttons =
     CBA_BUTTON { id = EMyButton1; txt = "Button1"; },
     CBA_BUTTON { id = EMyButton2; txt = "Button2"; }

iAvkonAppUi->Cba()->SetCommandSetL(R_MY_CBA); iAvkonAppUi->Cba()->DrawNow(); 如果需要关闭按钮,可以使用系统预定义的R_AVKON_SOFTKEYS_EMPTY资源

This page was last modified on 15 December 2011, at 06:35.
67 page views in the last 30 days.