![]()  | 
 
CXTPControlComboBox selection changes | 
 
    Post Reply  
   | 
  
| Author | |
   
   andy_t  
   
   Newbie  
   Joined: 19 October 2004 Location: Norway Status: Offline Points: 13  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: CXTPControlComboBox selection changesPosted: 06 June 2005 at 4:27am  | 
 
| 
   
    How do I handle selection changes in CXTPControlComboBoxes that are embedded in a toolbar? Can't seem to see any event-messenges getting sent... Thanks for any help,  | 
 |
![]()  | 
 |
   
   krulle  
   
   Newbie  
   Joined: 05 October 2004 Status: Offline Points: 6  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 16 June 2005 at 5:15am | 
 
| 
   
    
   I have subclassed CXTPControlComboBox and overloaded the OnExecute funcion like this:
 
   
  void CXTPMyComboBox::OnExecute() { int ix = GetCurSel(); // Do something here __super::OnExecute(); }  | 
 |
![]()  | 
 |
   
   andy_t  
   
   Newbie  
   Joined: 19 October 2004 Location: Norway Status: Offline Points: 13  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 16 June 2005 at 6:34am | 
 
| 
   
    Oh right, that seems to work. Thanks for the help! .Andy  | 
 |
![]()  | 
 |
    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  |