Print Page | Close Window

Add event handler for close button in ribbon tab

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=22480
Printed Date: 24 November 2024 at 1:44pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Add event handler for close button in ribbon tab
Posted By: lichongbin
Subject: Add event handler for close button in ribbon tab
Date 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?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net