具体语法如下:
BOOL CMFCRibbonButton::IsApplicationButton() const;
通过调用这个方法,你可以判断按钮是否是应用程序按钮,以便在 UI 中进行相应的处理。如果返回值为 TRUE,则表示按钮是应用程序按钮;如果返回值为 FALSE,则表示按钮不是应用程序按钮。
转载请注明出处:http://www.zyzy.cn/article/detail/19744/MFC/CMFCRibbonButton
BOOL CMFCRibbonButton::IsApplicationButton() const;