| 
				                                 David Potashinsky                				 
                					 
                     
                
                
                
                 Guest                 
                 
                
                
                                 
                                                                
         | 
        
                
                
                One of the requirements in our software is to show ADXRibbonButton button on appropriated documents and NOT to SHOW on others. When I manage the state on Excel event WorkbookActivate I have fallowing issue:
 User changes focus between document ?Â?Ð?ìwithout the button?Â?Ð?í to document that should have a button.
 I send a message to ADXAddinModule class ?Â?Ð?ã first time when document loose a focus ?Â?Ð?ã to hide a button, and then second time ?Â?Ð?ã when I need to show the button.
 Button on document, that should show the button has button flicking (disappears and then appears).
 I need to prevent button flicking ?Â?Ð?ã the best way can be to access to document specific instance of the ADXRibbonButton
 
 Thank you, d.                 |   
                 
         | 
  
  
        | 
				                                 Andrei Smolin                				 
                					 					 
                
                
                
                 Add-in Express team                 
                 
                
                
                                 
                                        Posts: 19178 
                                                        Joined: 2006-05-11 
                                                
         | 
        
                
         |