Changeset 3108 for trunk/src/user32/combo.cpp
- Timestamp:
- Mar 14, 2000, 4:01:00 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/combo.cpp
r2804 r3108 1 /* $Id: combo.cpp,v 1.2 6 2000-02-16 14:34:06sandervl Exp $ */1 /* $Id: combo.cpp,v 1.27 2000-03-14 15:00:58 sandervl Exp $ */ 2 2 /* 3 3 * Combo controls … … 1385 1385 1386 1386 case (EN_UPDATE >> 8): 1387 CB_NOTIFY( lphc, CBN_EDITUPDATE ); 1387 //SvL: Don't send updates either. (Realplayer 7 infinite loops) 1388 /* 1389 * In some circumstances (when the selection of the combobox 1390 * is changed for example) we don't wans the EN_CHANGE notification 1391 * to be forwarded to the parent of the combobox. This code 1392 * checks a flag that is set in these occasions and ignores the 1393 * notification. 1394 */ 1395 if (lphc->wState & CBF_NOEDITNOTIFY) 1396 { 1397 lphc->wState &= ~CBF_NOEDITNOTIFY; 1398 } 1399 else 1400 { 1401 CB_NOTIFY( lphc, CBN_EDITUPDATE ); 1402 } 1388 1403 break; 1389 1404 … … 2105 2120 if( lphc->wState & CBF_SELCHANGE ) 2106 2121 { 2122 //SvL: Clear the flag here; doing it after calling CBUpdateEdit causes 2123 // an infinite loop in RealPlayer 7 2124 lphc->wState &= ~CBF_SELCHANGE; 2125 2107 2126 /* no LBN_SELCHANGE in this case, update manually */ 2108 2127 if( lphc->wState & CBF_EDIT ) … … 2110 2129 else 2111 2130 InvalidateRect(CB_HWND(lphc), &lphc->textRect, TRUE); 2112 2113 lphc->wState &= ~CBF_SELCHANGE;2114 2131 } 2115 2132
Note:
See TracChangeset
for help on using the changeset viewer.