![]()  | 
 
Add event handler for close button in ribbon tab | 
 
    Post Reply  
   | 
  
| Author | |
   
   lichongbin  
   
   Newbie  
   Joined: 02 December 2014 Status: Offline Points: 2  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Add event handler for close button in ribbon tabPosted: 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? 
    | 
 |
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  |