CEikButtonGroupContainer* cba = CEikButtonGroupContainer::Current();
if (cba)
    {
    MEikButtonGroup* buttonGroup = cba->ButtonGroup();
    for (TInt pos = 0; pos < 3; pos++)
        {
        TInt cmdId = buttonGroup->CommandId(pos);
        CCoeControl* button = buttonGroup->GroupControlById(cmdId);
        if (button && buttonGroup->IsCommandVisible(cmdId))
            {
            CEikLabel* label =
                    static_cast<CEikLabel*> (button->ComponentControl(0));
            const TDesC* txt = label->Text();
            }
        }
    }

相关文章:

  • 2021-11-04
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-16
  • 2022-12-23
  • 2022-12-23
  • 2021-07-18
  • 2021-09-09
  • 2022-12-23
  • 2022-02-01
相关资源
相似解决方案