I have added one flyout group in command manager using
m_pCmdMgr->CreateFlyoutGroup2(flyoutGroupID, lable, lable, hint, mainIconList, iconList, callbackMethod, enableMethod, &flyGroup);
flyGroup->put_FlyoutType(swCommandFlyoutStyle_LastUsed) and in callbackMethod method I have added buttons in this flyout group. However, I want the main flyout group button present in the command manager must do some operation when I click on it. What should be the changes I made for this? Please let me know.