- Timestamp:
 - Dec 30, 1999, 10:28:06 PM (26 years ago)
 - File:
 - 
      
- 1 edited
 
- 
          
  trunk/src/user32/combo.cpp (modified) (2 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/src/user32/combo.cpp
r2214 r2278 1 /* $Id: combo.cpp,v 1.2 1 1999-12-27 18:43:41sandervl Exp $ */1 /* $Id: combo.cpp,v 1.22 1999-12-30 21:28:06 sandervl Exp $ */ 2 2 /* 3 3 * Combo controls … … 1221 1221 LPHEADCOMBO lphc = (LPHEADCOMBO)GetInfoPtr(hwnd); 1222 1222 1223 if(lphc->wState & CBF_EDIT) 1224 SetFocus(lphc->hWndEdit); 1225 else 1223 //SvL: This doesn't work. Example: 1224 // Click on combo box in Abiword (when it doesn't have the focus) 1225 // COMBO_LButtonDown checks focus, not set -> SetFocus to combo box 1226 // Next thing it does is check if it has the focus (CBF_FOCUSED flag). 1227 // This check fails as SetFocus(lphc->hWndEdit) doesn't change this flag. 1228 // Removing this check doesn't work as the listbox is not removed after it 1229 // loses the focus. 1230 // if(lphc->wState & CBF_EDIT) 1231 // SetFocus(lphc->hWndEdit); 1232 // else 1226 1233 COMBO_EditSetFocus(lphc); 1227 1234  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  