MTK_11A Forms and ClassesMTK 11A TrainingMTK Forms and ClassesHarveyMSN: hai_g@hotmail.com1 MTK 11A TrainingVcpCommandPopup Class Code Example Entry: VappPhbViewerProfilePage::shareContact Code Analysis: /*Create an object of the CommandPopup class*/ VcpCommandPopup *option; VFX_OBJ_CREATE(option, VcpCommandPopup, this); /*Set the title text of the popup*/ option->setText(VFX_WSTR_RES(STR_ID_VAPP_PHB_SHARE_CONTACT)); /*Add popup item, parameters: command, string, type*/ option->addItem(VAPP_PHB_PROFILE_SHARE_BY_SMS,VFX_WSTR_RES(STR_ID_VAPP_PHB_SHARE_WITH_SMS), VCP_POPUP_BUTTON_TYPE_NORMAL); /*Register item command function*/ option->m_signalButtonClicked.connect(this, &VappPhbViewerProfilePage::onShareSelected); option->show(VFX_TRUE); 2 MTK 11A Training VcpMoreCommandPopup Class Code Example Entry: VappPhbViewerProfilePage::moreAction Code Analysis: /*Create an object of the MoreCommandPopup class*/ VcpMoreCommandPopup *option; VFX_OBJ_CREATE(option, VcpMoreCommandPopup, g……
You Might Like
Recommended ContentMore
Open source project More
Popular Components
Searched by Users
Just Take a LookMore
Trending Downloads
Trending ArticlesMore