Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Add event handler for close button in ribbon tab
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Add event handler for close button in ribbon tab

 Post Reply Post Reply
Author
Message
lichongbin View Drop Down
Newbie
Newbie


Joined: 02 December 2014
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote lichongbin Quote  Post ReplyReply Direct Link To This Post Topic: Add event handler for close button in ribbon tab
    Posted: 02 December 2014 at 4:55am
I create a ribbon, and add a tab with close button. 
My code snippet:
CXTPRibbonControlTab * pCtrl = pRibbonBar->GetControlTab();
pCtrl->ShowCloseItemButton(xtpTabNavigateButtonAutomatic);

How to add an event handler for the close button?
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.