Y
Yan Yang
Guest
I created a button of ID_FILE_SAVE under "Home" category on the ribbon of CMFCRibbonBar type, I tried to get the category containing this button using pButton->GetParentCategory(), which should be the category with m_strName of "Home", however an unexpected category was retrieved, whose m_strName is "Category1".
Actually the category with the name "Category1" is the last category on the ribbon, which is empty and doesn't show in running the application, but I cannot removed it in the ribbon design mode. How to remove it?
Could you please let me know how to get the correct category "Home" containing the button ID_FILE_SAVE?
Thanks in advance.
Continue reading...
Actually the category with the name "Category1" is the last category on the ribbon, which is empty and doesn't show in running the application, but I cannot removed it in the ribbon design mode. How to remove it?
Could you please let me know how to get the correct category "Home" containing the button ID_FILE_SAVE?
Thanks in advance.
Continue reading...