![]()  | 
 
cxtlistctrl selection colour problem | 
 
    Post Reply  
   | 
  
| Author | |
   
   douglashogan  
   
   Groupie  
   Joined: 02 July 2003 Location: Switzerland Status: Offline Points: 62  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: cxtlistctrl selection colour problemPosted: 13 November 2003 at 12:56pm  | 
 
| 
   
    The selected item in a list control with custom colours does not get painted with the new colours and instead uses the windows default ?? why is this. It looks really strange. Offending code follows... 
 void CXTListCtrlBase::OnCustomDrawImpl(NMHDR* pNMHDR, LRESULT* pResult) { ...     // Only change the background colour if the window is enabled, and     if (m_pListCtrl->IsWindowEnabled()) } 
  | 
 |
| 
   
     
     Regards
 
   
  Douglas Hogan  | 
 |
![]()  | 
 |
    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  |