Changeset 3108
- Timestamp:
- Mar 14, 2000, 4:01:00 PM (25 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified 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 -
TabularUnified trunk/src/user32/listbox.cpp ¶
r2852 r3108 1 /* $Id: listbox.cpp,v 1.2 0 2000-02-21 17:25:27 cbratschiExp $ */1 /* $Id: listbox.cpp,v 1.21 2000-03-14 15:00:59 sandervl Exp $ */ 2 2 /* 3 3 * Listbox controls … … 1241 1241 { 1242 1242 INT oldsel = descr->selected_item; 1243 //// if (index == oldsel) return LB_OKAY; 1243 //SvL: Why was this commented out??? (enabled in latest wine code) 1244 if (index == oldsel) return LB_OKAY; 1245 1244 1246 if (oldsel != -1) descr->items[oldsel].selected = FALSE; 1245 1247 if (index != -1) descr->items[index].selected = TRUE; -
TabularUnified trunk/src/user32/oslibmsgtranslate.cpp ¶
r3101 r3108 1 /* $Id: oslibmsgtranslate.cpp,v 1.2 3 2000-03-13 13:10:46sandervl Exp $ */1 /* $Id: oslibmsgtranslate.cpp,v 1.24 2000-03-14 15:01:00 sandervl Exp $ */ 2 2 /* 3 3 * Window message translation functions for OS/2 … … 195 195 if(ISMOUSE_CAPTURED()) 196 196 { 197 if(DInputMouseHandler(win32wnd->getWindowHandle(), winMsg->message, winMsg->pt.x, winMsg->pt.y)) 197 if(DInputMouseHandler(win32wnd->getWindowHandle(), winMsg->message, winMsg->pt.x, winMsg->pt.y)) { 198 198 goto dummymessage; //dinput swallowed message 199 } 199 200 } 200 201 … … 231 232 if(ISMOUSE_CAPTURED()) 232 233 { 233 if(DInputMouseHandler(win32wnd->getWindowHandle(), winMsg->message, winMsg->pt.x, winMsg->pt.y)) 234 if(DInputMouseHandler(win32wnd->getWindowHandle(), winMsg->message, winMsg->pt.x, winMsg->pt.y)) { 234 235 goto dummymessage; //dinput swallowed message 236 } 235 237 } 236 238 //OS/2 Window coordinates -> Win32 Window coordinates … … 449 451 if(ISMOUSE_CAPTURED()) 450 452 { 451 if(DInputMouseHandler(win32wnd->getWindowHandle(), winMsg->message, winMsg->pt.x, winMsg->pt.y)) 453 if(DInputMouseHandler(win32wnd->getWindowHandle(), winMsg->message, winMsg->pt.x, winMsg->pt.y)) { 452 454 goto dummymessage; //dinput swallowed message 455 } 453 456 } 454 457 … … 485 488 if(ISMOUSE_CAPTURED()) 486 489 { 487 if(DInputMouseHandler(win32wnd->getWindowHandle(), winMsg->message, winMsg->pt.x, winMsg->pt.y)) 490 if(DInputMouseHandler(win32wnd->getWindowHandle(), winMsg->message, winMsg->pt.x, winMsg->pt.y)) { 488 491 goto dummymessage; //dinput swallowed message 492 } 489 493 } 490 494 //OS/2 Window coordinates -> Win32 Window coordinates … … 645 649 if(ISKDB_CAPTURED()) 646 650 { 647 if(DInputKeyBoardHandler(winMsg)) 651 if(DInputKeyBoardHandler(winMsg)) { 648 652 goto dummymessage; //dinput swallowed message 653 } 649 654 } 650 655 break; … … 741 746 default: 742 747 dummymessage: 748 winMsg->message = 0; 749 winMsg->wParam = 0; 750 winMsg->lParam = 0; 743 751 return FALSE; 744 752 }
Note:
See TracChangeset
for help on using the changeset viewer.